6/14/2023 0 Comments Visual studio code remote ssh![]() Preinclude: /usr/local/cuda/bin/./targets/x86_64-linux/include/cuda_runtime.h Include: /usr/local/cuda-11.7/targets/x86_64-linux/include/thrust/system/cuda Include: /usr/local/cuda-11.7/targets/x86_64-linux/include/cuda/std/detail/libcxx/include Include: /usr/local/cuda-11.7/targets/x86_64-linux/include/cuda/std/detail Sending compilation args for /home/jim/code/cuda-bd-refactor-2022/calc_properties.cu Invoking nvcc with command line: /usr/local/cuda/bin/nvcc /home/jim/.config/Code/User/workspaceStorage/9628c1573f866174de3a0dbf3e145d13/ms-vscode.cpptools/nvcc_temp/temp.cu -c -x cu -odir /home/chris/.config/Code/User/workspaceStorage/9628c1573f866174de3a0dbf3e145d13/ms-vscode.cpptools/nvcc_temp -keep -keep-dir /home/chris/.config/Code/User/workspaceStorage/9628c1573f866174de3a0dbf3e145d13/ms-vscode.cpptools/nvcc_temp -vĪttempting to get defaults from C++ compiler in "compilerPath" property: 'gcc'Ĭompiler query command line: /usr/bin/gcc -m64 -std=gnu++17 -Wp,-v -E -dM -x c++ /dev/nullĬpptools/getDocumentSymbols: /home/jim/code/cuda-bd-refactor-2022/calc_properties.cu (id: 2)Ĭpptools/getCodeActions: /home/jim/code/cuda-bd-refactor-2022/calc_properties.cu (id: 3)Ĭpptools/getDocumentSymbols: /home/jim/code/cuda-bd-refactor-2022/calc_properties.cu (id: 4)Ĭhecking for syntax errors: /home/jim/code/cuda-bd-refactor-2022/calc_properties.cu TextDocument/didOpen: /home/jim/code/cuda-bd-refactor-2022/calc_properties.cuĬpptools/activeDocumentChange: /home/jim/code/cuda-bd-refactor-2022/calc_properties.cu If the file is set to “C++”: loggingLevel: Debug Processing folder (recursive): /usr/local/cuda-11.7/targets/x86_64-linux/include/ĭiscovering files: 8462 file(s) processed Processing folder (recursive): /home/jim/code/cuda-bd-refactor-2022/ Processing folder (recursive): /usr/local/include/ Processing folder (recursive): /usr/lib/gcc/x86_64-linux-gnu/11/include/ ![]() Processing folder (recursive): /usr/include/ Querying compiler's default target using command line: "/usr/bin/gcc" -dumpmachineĬompiler returned default target value: x86_64-linux-gnuĬompiler query command line: /usr/bin/gcc -std=gnu17 -m64 -Wp,-v -E -dM -x c /dev/nullĪttempting to get defaults from C++ compiler in "compilerPath" property: '/usr/bin/gcc'Ĭompiler query command line: /usr/bin/gcc -std=gnu++17 -m64 -Wp,-v -E -dM -x c++ /dev/nullįolder: /usr/lib/gcc/x86_64-linux-gnu/11/include/ will be indexedįolder: /usr/local/include/ will be indexedįolder: /home/jim/code/cuda-bd-refactor-2022/ will be indexedįolder: /usr/local/cuda-11.7/targets/x86_64-linux/include/ will be indexedĮrror squiggles are enabled if all header dependencies are resolved. Querying compiler for default C language standard using command line: /usr/bin/gcc -x c -E -dM /dev/nullĭetected language standard version: gnu17 ![]() Querying compiler for default C++ language standard using command line: /usr/bin/gcc -x c++ -E -dM /dev/nullĭetected language standard version: gnu++17 If the file is being read as “Cuda C++” loggingLevel: DebugĪttempting to get defaults from C compiler in "compilerPath" property: '/usr/bin/gcc' The first is for “cuda C++” and the second is for “C++”. I have a single file open in the workspace. VSCode Extensions: I found out how to get to the c_cpp extension’s log. I’ve listed what I believe are the relevant information below. I am able to use *.h files perfectly well, but any *.cu files end up not having any Intellisense, meaning no autocomplete and no argument suggestions.ĭoes anyone have suggestions for getting Intellisense to work? I am using the latest toolkit 11.7. However, it seems that I need help with configuring Intellisense. I have been able to debug and step through code on the GPU and the code lints (with coloring for _global_ and _device_).
0 Comments
Leave a Reply. |