Skip to content

fancyerii/cmake_cuda-gdb_example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmake_cuda-gdb_example

cmake cuda-gdb example in vscode.

build the project with

./build.sh

Note this builds a debug version of the code to use CUDA-GDB for debugging.

VSCODE

In vscode to debug the GPU code i.e the sliding_window_kernel function install the plugin Nsight Visual Studio Code Edition and put a break point in the function and run the Launch task in the debug tab named CUDA C++: Launch

About

cmake cuda-gdb example in vscode.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Cuda 91.7%
  • Shell 4.6%
  • CMake 3.7%