This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OpenCL kernel running on CPU

Other Parts Discussed in Thread: 66AK2H14

Hi, im trying the TI OpenCL implementation for 66AK2H14 SoC (evmk2h board) and apparently the provided examples works when the kernel execution is in the DSP's. The problem starts when i try to execute OpenCL kernel's in the ARM part of the SoC. When the kernel is executed in the ARM core the constructor of the Context class returns -33 error ( CL_INVALID_DEVICE). Is the OpenCL implementation not prepare to use CPU instead of accelerators or it's maybe an installation issue in my board?

I have attached the code i'm ussing (is the vecadd example of the opencl folder in the MCSDK-HPC packet), but basically the Context constructor throws and exception with the OpenCL -33 error code, so i doubt if the problem is the installation of the libraries and tools in the board (i'm using MCSDK 3.00.04.18 and MCSDK-HPC 3.00.01.04) and in the Ubuntu  desktop (i tried cross compiling too).

Thanks in advance.

7266.main.cpp