I got a error message from NEXUS, “CUDA grid launch failed”.
When I use
dim3 dimBlock_c(32,1) ;
, the kernel works well.
However, when I use
dim3 dimBlock_c(64,1) ;
, I got a error message from NEXUS, “CUDA grid launch failed”.
So I try to launch a empty kernel that do nothing in the kernel with various configurations of the grid size and block size.
Depending on the configuration.
dim3 dimBlock_c(512,1) ;
is work. but
dim3 dimBlock_c(128,1) ;
is doesn’t work.
And some configuration makes my PC shut down.
Is there anyone who suffer similar problem?
Is there any rule for grid and block size?
Make sure you have devdriver 270.81 installed.
I used to have the same issue, and noticed I was using NSight 2.0 with devdriver 285.67 installed.
the devdriver is too new to be compatible with old version of NSight.
Simply switch back to old driver or upgrade NSight 2.1 would solve the problem.
The solution for the ‘grid launch failed’ error when using Parallel NSight is definitely making sure you’re using the right drivers. For the currently stable 2.0 version, this is 270.81 drivers. For the 2.1 RC2 this is 285.86 drivers. Cheers!