Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
23 Views

Program cannot build when setting device to "1"

Hello,

I have a laptop with both intel haswell chip and intel HD 4400 GPU

I have VS 2012 and the 2014 beta opencl sdk installed.

I have taken the median filter sample and modified it to run my own kernel.

Using the default device "0" (CPU), everything works fine. 

But, if I set device to "1", then I get an error when trying to build the opencl kernel.

i.e. when calling clBuildProgram

Thanks,

Aaron

 

 

 

 

 

 

 

 

.

0 Kudos
2 Replies
Highlighted
23 Views

Hi Aaron,

Is this the same issue as you reported at http://software.intel.com/en-us/forums/topic/508650? What error are you getting when calling clBuildProgram()?

Raghu

0 Kudos
Highlighted
Beginner
23 Views

Hi Raghu,

Yes, this is the same issue I reported in http://software.intel.com/en-us/forums/topic/508650.

The error is an access violation. So, something in this kernel makes the compiler sad.

The program works fine for two AMD GPUS that I tested on, and also Intel CPU.

You can simply run my github project to reproduce.

Thanks,

Aaron

0 Kudos