cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

kwaegel
Journeyman III

ocl-emu cross platform

I am trying to write an OpenCL program that will work on multiple GPU platforms (since I can not predict what it will be running on) using the ocl-emu project.

Unfourtently, when I try to run the HelloCL test program on a system containing an AMD CPU and nVidia GPU, I get the output at the bottom of this post.

Is there anything special I need to do to get ocl-emu to work with devices from multiple vendors? Other OpenCL implementations (such as Cloo for .NET) work just fine with both types of devices, but don't support emulation-mode debugging.

Hello OpenCl App gpu_emu run Hello, I'm an OpenCl GPU EMULATOR multi-core device. my position right now is x= 7, y=7 in the group x=0 y=0 cpu run Hello, I'm an OpenCl CPU multi-core device. my position right now is x=7, y=7 in the group x=0 y=0 gpu run Error: clCreateContextFromType failed. Error code : CL_DEVICE_NOT_FOUND Error: clCreateProgramWithSource failed. Error code : CL_INVALID_CONTEXT Done Passed! Press any key to continue . . .

0 Likes
0 Replies