CUDA grid launch failed error for gtx1080ti, vs2015, win10, nsight5.2
I followed the tutorial [url]http://docs.nvidia.com/nsight-visual-studio-edition/5.2/Nsight_Visual_Studio_Edition_User_Guide.htm#Debugging_CUDA_Application.htm%3FTocPath%3DCUDA%2520Debugger%7C_____1[/url] to try to debug the sample project. Here are some problems I encountered on gtx1080ti, vs2015, win10 [list] [.]NSight will ignore all break points in release mode. [/.] [.]The NSight will ignore the second break proint in the turorial in debug mode. At the same time, the NSight monitor will report a warning "CUDA grid launch failed" [/.] [.]I tried to debug some other sample project such as the cdpSimpleQuickSort. Nsight moniter reports that "CUDA Dynamic Parallelism debugging is not supported in preemption mode. Breakpoints will be disabled. "[.] [/list] Here is the error list and the driver is running in WDDM mode. [code]CUDA context created : 2bfa3680770 CUDA module loaded: 2bfabd65b40 matrixMul.cu CUDA grid launch failed: CUcontext: 3022103512944 CUmodule: 3022244961088 Function: _Z13matrixMulCUDAILi32EEvPfS0_S0_ii CUDA context destroyed : 2bfa3680770 [/code] I tried to reinstall my OS and used three versions of graphic driver, but the same problems are still existed. The driver versions are 382.33, 382.05 and 381.89.
I followed the tutorial
http://docs.nvidia.com/nsight-visual-studio-edition/5.2/Nsight_Visual_Studio_Edition_User_Guide.htm#Debugging_CUDA_Application.htm%3FTocPath%3DCUDA%2520Debugger%7C_____1
to try to debug the sample project.
Here are some problems I encountered on gtx1080ti, vs2015, win10
  • NSight will ignore all break points in release mode.
  • The NSight will ignore the second break proint in the turorial in debug mode. At the same time, the NSight monitor will report a warning "CUDA grid launch failed"
  • [.]I tried to debug some other sample project such as the cdpSimpleQuickSort. Nsight moniter reports that "CUDA Dynamic Parallelism debugging is not supported in preemption mode. Breakpoints will be disabled. "[.]


Here is the error list and the driver is running in WDDM mode.
CUDA context created : 2bfa3680770
CUDA module loaded: 2bfabd65b40 matrixMul.cu
CUDA grid launch failed: CUcontext: 3022103512944 CUmodule: 3022244961088 Function: _Z13matrixMulCUDAILi32EEvPfS0_S0_ii
CUDA context destroyed : 2bfa3680770


I tried to reinstall my OS and used three versions of graphic driver, but the same problems are still existed.
The driver versions are 382.33, 382.05 and 381.89.

#1
Posted 06/03/2017 10:04 AM   
Hi EternalSaga, It's a known issue, we already have a bunch of bugs to track it, hope it will be fixed in next version. Best Regards Harry
Hi EternalSaga,

It's a known issue, we already have a bunch of bugs to track it, hope it will be fixed in next version.

Best Regards
Harry

#2
Posted 06/05/2017 07:09 AM   
[quote=""]Hi EternalSaga, It's a known issue, we already have a bunch of bugs to track it, hope it will be fixed in next version. Best Regards Harry[/quote] OMG, this issue has confused me for 10 days! GTX 1080 ti is a 3 months old graphic card but you still haven't solve this bug.
said:Hi EternalSaga,

It's a known issue, we already have a bunch of bugs to track it, hope it will be fixed in next version.

Best Regards
Harry

OMG, this issue has confused me for 10 days! GTX 1080 ti is a 3 months old graphic card but you still haven't solve this bug.

#3
Posted 06/05/2017 11:46 AM   
Here is an another bug I found in my situation. cudaDevice* series functions will caused application crush in debug mode.
Here is an another bug I found in my situation.
cudaDevice* series functions will caused application crush in debug mode.

#4
Posted 06/05/2017 12:06 PM   
Hi, Could you provide your src, then I can try to repo it on my computer
Hi,

Could you provide your src, then I can try to repo it on my computer

#5
Posted 06/07/2017 07:32 AM   
[quote=""]Hi, Could you provide your src, then I can try to repo it on my computer[/quote] Thank you very much. At present, I turn to my work to gtx780ti temporarily.
said:Hi,

Could you provide your src, then I can try to repo it on my computer

Thank you very much. At present, I turn to my work to gtx780ti temporarily.

#6
Posted 06/08/2017 04:48 PM   
BTW, if you want to debug the cdp cases, you must use your second GPU, "CUDA Dynamic Parallelism debugging is not supported in preemption mode" means you cannot debug the cdp cases on display card with software preemption, you muse use your second GPU and disable the software preemption on it. Of course you cannot debug the release build, it doesn't have any debug info. CUDA grid launch failed is a known issue
BTW, if you want to debug the cdp cases, you must use your second GPU, "CUDA Dynamic Parallelism debugging is not supported in preemption mode" means you cannot debug the cdp cases on display card with software preemption, you muse use your second GPU and disable the software preemption on it.

Of course you cannot debug the release build, it doesn't have any debug info.

CUDA grid launch failed is a known issue

#7
Posted 06/13/2017 09:10 AM   
Scroll To Top

Add Reply