20 Replies Latest reply on Apr 1, 2013 5:01 AM by himanshu.gautam

    Threading issue : unable to compile when not using from main thread ?

    spectral
      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 !