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.
1719 Discussions

Multiple host threads with single queue and device

seunghyun_c_
Beginner
315 Views

Hi,

I'm developing an application program using OopenCL.

The application program issues multiple threads for parallel processing and each thread needs to access a GPU through OpenCL APIs.

I've tested the program on two different platforms;

  #1.  Desktop - OS:Windows 10, CPU: I7-6700K(with HD530 GPU), Media Server Studio installed

  #2.  Intel VCA - OS:Centos 7, CPU: E3-1200 v4(with Iris Pro P6300 GPU), Media Server Studio installed

The program looks working just fine on platform #1, but it is not stable on platform #2.

When it runs on platform #2, the program suddenly stops after several threads completed their jobs.

Moreover, the point that it suddenly stops is changing for each run.

Any information or help on this issue would be appreciated.

 

0 Kudos
1 Reply
Jeffrey_M_Intel1
Employee
315 Views

Glad to hear that your code is working in configuration #1.  

For the VCA installation, please try the new Media Server Studio release announced here: https://software.intel.com/en-us/forums/intel-media-sdk/topic/681674.  Skylake/Xeon e3v5 support was added, but it also covers Broadwell/Xeon e3v4.  If the problem still exists in the new release we can continue investigating as a possible bug.

 

0 Kudos
Reply