All Questions
4 questions
0
votes
1
answer
141
views
Nsight CUDA linkage problem between multiple .cu, .h and .c files
This is the first time I am trying to build my CUDA app in NSight Ubuntu to benefit from optimization and profiling. This app works fine from terminal using nvcc (makefile) in Ubuntu 20 (or 18 ,16). I ...
1
vote
1
answer
544
views
can't enter into __global__ function using cuda
I have written a code on Nsight that compiles and can be executed but the first launch can't be completed.
The strange thing is that when I run it in debug mode, it works perfectly but it is too slow....
0
votes
1
answer
233
views
CUDA C: Kernel outputs bad results
first of all I want to say that this is not a homework assignment and I'm just beginning with CUDA.
I'm trying to run the following code to add 2 vectors... The thing is that after every run the ...
2
votes
2
answers
2k
views
using nsight to debug
I am using NSight to debug my CUDA code and I have question:
how can I place a breakpoint for a specific thread and block?
When I place a breakpoint on the kernel the debugger always stops at ...