Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
53 Views

Running Aparapi Kernels on CPU

Jump to solution

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

Accepted Solutions
Highlighted
53 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

0 Kudos
2 Replies
Highlighted
54 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

0 Kudos
Highlighted
New Contributor I
53 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!

0 Kudos