I'm currently running the rodinia benchmarks (OpenCL version) on Nexus 5 using android ndk, to monitor the changes in the temperature of the CPU and the GPU. After compiling the binaries for offloading the workload to the GPU, I'm able to run the program successfully. However, when I'm trying to run the program with CL_DEVICE_TYPE_CPU, the clBuildProgram fails with CL_COMPILER_NOT_AVAILABLE. With a device query, the CPU as well as the GPU are listed as OpenCL compatible devices. I'm having troubles understanding why Qualcomm would have an OpenCL compatible CPU device, but not a compiler included in its libraries to build the kernels from source. Does qualcomm have an offline compiler that I need to use? How do I solve this problem?
CL_COMPILER_NOT_AVAILABLE for Nexus 5
Posted: Wed, 2016-05-11 03:19