CUDA_ERROR_LAUNCH_TIMEOUT
Mostrar comentarios más antiguos
Hi
I am trying to execute PTX code, as the help file "Executing CUDA or PTX Code on the GPU" suggests.
I have executed the example successfully. But when I try to do the same with my own kernel, y retrieve this error:
??? Error using ==> feval
An error occurred during: retrieving information about free memory. The CUDA error was:
CUDA_ERROR_LAUNCH_TIMEOUT.
Any suggestions please?
Thanks,
María.
Respuesta aceptada
Más respuestas (4)
Edric Ellis
el 23 de Nov. de 2011
1 voto
CUDA_ERROR_LAUNCH_TIMEOUT generally indicates that your kernel took too long to execute, and the operating system aborted the execution. Look at the output of running 'gpuDevice', and see whether KernelExecutionTimeout is true. If it is, then you may need to make changes to your system to get that value to be false. The changes you need to make depend on your operating system, and also whether you have a display attached to the GPU.
María
el 23 de Nov. de 2011
0 votos
María
el 7 de Dic. de 2011
0 votos
María
el 16 de Feb. de 2012
0 votos
Categorías
Más información sobre Get Started with GPU Coder en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!