Cuda runtime error (4) : unspecified launch failure

I introduce a function from .so (compiled by .cu and .pyx), and error generates. If without this function, there is no error. Can someone help me?

Some wrong code in .cu generates this error.