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

Running Aparapi Kernels on CPU

LLuca7
New Contributor I
310 Views

Hi, I'm trying to execute some aparapi kernel on CPU mode, but even after installing the Intel OpenCL SDK I'm still can't use the CPU mode, always switching to JTP with the following message:

WARNING: Reverting to Java Thread Pool (JTP) for class MatrixMulti.MatrixMulti: CPU request can't be honored not CPU device

I downloaded the SDK tools from here ( I have a Core i5-2400 and a NVIDIA GeForce GTX Titan Z). Did I installed the right things or there is some other tweak to run OpenCL code om CPU? I found the link that seems to be the one with right drivers, but it redirects to the one I mencioned above.

PS: Aparapi is a Java Framework that translates Kernels written in Java to OpenCL and executes it on GPU, JTP or CPU, letting the programmer to decide in which device it should run or if it fails on translating some part of the kernel, it swiches to JTP or CPU. 

 

Thanks!

0 Kudos
1 Solution
Jeffrey_M_Intel1
Employee
310 Views

Intel OpenCL is delivered in multiple packages, as described in the link you visited above.  https://software.intel.com/en-us/articles/opencl-drivers.  The SDK package has components for developing applications.  You may still need to install the CPU runtime package to run.

It may help to verify that CPU applications can run with some of the OpenCL samples. https://software.intel.com/en-us/intel-opencl-support/code-samples.  The capabilities viewer sample could be a good place to start -- it should show that a CPU device is available.

 

View solution in original post

2 Replies
Jeffrey_M_Intel1
Employee
311 Views

Intel OpenCL is delivered in multiple packages, as described in the link you visited above.  https://software.intel.com/en-us/articles/opencl-drivers.  The SDK package has components for developing applications.  You may still need to install the CPU runtime package to run.

It may help to verify that CPU applications can run with some of the OpenCL samples. https://software.intel.com/en-us/intel-opencl-support/code-samples.  The capabilities viewer sample could be a good place to start -- it should show that a CPU device is available.

 

LLuca7
New Contributor I
310 Views

Thats It, I uninstalled every thing from Intel and followed this page. I think the other person that was using the machine configured with a diferent runtime than when I installed the latest SDK everything crashed.

Thanks a lot!

Reply