Threading issue : unable to compile when not using from main thread ?
I Hi,
I'm running some OpenCL code from a simple application and all is fine. But when I run it in a more complex one, that launch several threads:
1 - the compilation failed
2 - I just got the following message "Compilation failed" !
My soft is a simple .NET soft using "OpenTk" and "Cloo", it sounds that it is not doing anything special... just some calls...
...
clCreateContextFromType...
clCreateProgramWithSource...
clBuildProgram...
Then I got a compilation problem !