From: Lam, J. <jas...@lm...> - 2010-07-09 14:25:46
|
Hi I am new to this OpenCL but it is looking very exciting. I am looking at the examples and if you are using ViennaCL, there is no kernel that would need to be written at all. Assuming under the layer, ViennaCL load its library of kernel to the GPU during execution. How do you configure or tell ViennaCL to execute the kernel on the CPU instead? Like when i am just writing pure OpenCL, I can specify my target device and either GPU, CPU or even others. i am not getting at performance but just getting at portability of OpenCL and the use of ViennaCL to enable that. THanks!!! Jason Lam 703-367-6112 |