![]() ![]() I have followed the VSCode Nsight tutorial before for debugging CUDA code compiled as executable in VSCode, but I need to run this as an exported linked library from python (via Cython interface) Hi there, I am using this plugin for the purpose of launching debugging CUDA code launched by python scripts in VSCode Within the tasks.json this can be done like the following: Single file programs (like most examples presented here on the web site) can be compiled directly with nvcc without the need of more complex build systems. Either choose directly “open tasks.json” or any of the other configure options should generate/open the file. To open it if it doesn’t exist goto “Terminal -> Configure Tasks”. vscode folder of your project root folder. A new task can be added in the file tasks.json which is located in the. There is nothing pre-built into VSCode for CUDA at the time of writing this. ![]() Independent of how big a project is, we always have to create a new task for it in VSCode so that it knows what to do with our CUDA code. Nsight Visual Studio Code Edition: Nvidia debugging and development tools like cuda-gdb integration, proper CUDA syntax highlighting, breakpoints inside kernels, etc. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |