AnsweredAssumed Answered

cannot open source file on .cl file only with AMD APP SDK under VS2012

Question asked by endoerner on Apr 24, 2014
Latest reply on May 2, 2014 by endoerner

Hi to everyone,


I have a very weird problem with an OpenCL project under VS2012 only when a use a PC with the AMD APP SDK.


It is a main .cl file that includes some source .cl files (specifically a RNG for GPU), the console message is as follows:


Platform[0]: AMD Accelerated Parallel Processing

Chosen Platform:0

Device[0]: Tahiti

Device[1]: Tahiti

Device[2]: AMD Phenom(tm) II X6 1100T Processor

Chosen Device:0

clBuildProgram: Error code -11

Build log: "C:\Users\EDGARD~1\AppData\Local\Temp\", line 1: catast

rophic error:

          cannot open source file ""

  #include ""



1 catastrophic error detected in the compilation of "C:\Users\EDGARD~1\AppData\L


Compilation terminated.

Frontend phase failed compilation.

clCreateKernel: Error code -46

Press any key to continue . . .


The strange thing is that under a second PC with the Intel OpenCL SDK, under VS2012, the error does not appear and the

Kernel compiles and executes without problems. I attached the codes. Thanks for your help!