Hi,
I use clBuildprogram to build my code, and I get an error -30, I print this error using this code
[codebox]shrLog(" Error %i build program !!!\n\n", ciErrNum);[/codebox]
How can I get the real error name,
like CL_INVALID_PROGRAM for example.
Thanks
kreon
March 8, 2010, 3:42pm
2
Hi,
I use clBuildprogram to build my code, and I get an error -30, I print this error using this code
[codebox]shrLog(" Error %i build program !!!\n\n", ciErrNum);[/codebox]
How can I get the real error name,
like CL_INVALID_PROGRAM for example.
Thanks
CL_INVALID_VALUE
there are not too much errors you can get, so keep them in mind ))
Yhanks, it was a devicenumber problem,
now I’m getting error 1, I’m assuming that it’s CL_INVALID_PROGRAM,
is there a wiki with the errors and there number
kreon
March 8, 2010, 4:29pm
4
Yhanks, it was a devicenumber problem,
now I’m getting error 1, I’m assuming that it’s CL_INVALID_PROGRAM,
is there a wiki with the errors and there number
afaik, these numbers are the internal nvidia’s stuff
There was a thread either here in the NVIDIA forum or over at Khronos that had code for a large switch statement over all error codes that returned a human readable equivalent.
Edit:
Found it [url=“http://www.khronos.org/message_boards/viewtopic.php?f=37&t=2107 ”]http://www.khronos.org/message_boards/view...f=37&t=2107[/url]
kreon
March 9, 2010, 8:39am
6
That’s perfect, thank you !
fjlm
March 10, 2010, 4:10pm
8
you can also just check the file cl.h