AnsweredAssumed Answered

clBuildProgram crashes on simple kernel

Question asked by boxerab on Jul 20, 2014
Latest reply on Jul 24, 2014 by boxerab

I am running windows 7 64 bit on intel cpu with AMD HD 7700 series GPU.


I have the Intel OpenCL SDK 2014 integrated into Visual Studio.


When I try to build the following simple kernel targetting the GPU:


void kernel rct_with_shift( image2d_t input,  image2d_t output,  unsigned short width,  unsigned short height,  int level_shift) {

     const int2 pos = {get_global_id(0), get_global_id(1)};

     write_imagei(output, pos, (int4)(0,0,0,0)) ;



I get an exception:


Unhandled exception at 0x000007FEE0486278 (amdocl64.dll) in opj_compress.exe: 0xC0000005: Access violation executing location 0x000007FEE0486278.


The program builds fine for CPU.