cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

kalyfabdalla
Journeyman III

Error in pragma OpenCL extensions

Error with opencl extensions using GPU device

My cards is a ATI Radeon 4350. Last version of ATI Stream SDK.

When I put the pragma code, occur a error in BuildProgram.

 


 

#pragma OPENCL EXTENSION cl_khr_global_int32_base_atomics : enable

__kernel void function(__global float* a){

//...

}

 


 

With CPU device there isn't problem. I use the code with CUDA without problems. I don't know where is the error.

0 Likes
2 Replies
himanshu_gautam
Grandmaster

I dont think that extension is supported on your device.

http://www.khronos.org/adopters/conformant-products/

0 Likes

Yes. There is in amd's guide that just Cedar (5000 Series) or above can use atomic extensions. Thanks for help.

0 Likes