OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1663 Discussions

if I can find several suitable devices

td__chen
Beginner
172 Views

if I can find several suitable devices, how I can use them simultaniously?

it seems that i have to:

1)split my task into parts.

2)create a thread(windows system) for one device

3)use one thread to deal with one part simultaniously.

is it correct? is there any better way?

thank you in advance.

tdchen

 

0 Kudos
1 Reply
Michael_C_Intel1
Moderator
172 Views

Hi ChenT,

In OpenCL programming many common cases would be assumed to be split into parts.

Whether or not a thread is required is more dependent on the nature of the host side application than the OpenCL runtimes ability to queue execution on devices simultaneously.

Please see my comment in topic 777692.

https://software.intel.com/en-us/forums/opencl/topic/777692

 

-MichaelC

Reply