cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

yanmin950122
Journeyman III

Can I use intel cpu device for enqueue kernel in the OpenCL 2.0 devision?

     I want to use enqueue_kernel to call a kernel function(built in CPU) in a another kernel function(built in GPU) ,but I don't have an APU . I only have an Intel CPU(Core i7-6700) and an AMD GPU(Radeon R9 290). The clinfo show that my GPU can support OpenCL 2.0 but my CPU only can support OpenCL1.2.However,Overview of OpenCL 2.0 hardware support, samples, blogs and drivers - StreamComputin    this document shows my CPU can support OpenCL2.0. How can I do to make my CPU support OpenCL2.0 in AMD APP SDK?Or,could you can tell me how I can call a kernel function(built in CPU) in a another kernel function(built in GPU) without OpenCL2.0?Sorry,My English is poor,I don't know whether I express my meaning clearly.

   Thanks.

0 Likes
1 Reply
dipak
Big Boss

Currently, CPU devices (AMD as well as Intel) are not supported as OpenCL 2.0 devices on AMD platform. So, you cannot use OpenCL 2.0 features such as device enqueue  for CPU devices. Another point is, as per OpenCL 2.0 spec, enqueue_kernel enqueues commands to the same device, not to any other device as you're looking for.

Regards,

0 Likes