Using gpuArray to meet a error "An unexpected error occurred trying to launch a kernel"
3 views (last 30 days)
I used gpuArray with some functions such as permute and pagefun. A error ocurred: "An unexpected error occurred trying to launch a kernel. The CUDA error was: invalid configuration argument"
Here is my gpuDevice information:
Name: 'GeForce GTX 1080'
MaxThreadBlockSize: [1024 1024 64]
MaxGridSize: [2.1475e+09 65535 65535]
When the error ocurred, the error could be solved by re-run the same code again without changing anything. I really don't know how to fix it.