I have been opencl on the Odroid-XU3 board, this has an ARM big.LITTLE core and a Mali-T628.
I am trying to run the Rodinina Benchmarking Suite (Found here) on each core and the GPU separately. I have gotten the code working on each CPU using POCL. Now I moved over to running the benchmarks on the GPU and have ran into some problems.
I downloaded the Mali SDK onto the board and changed the CC and AR variables to point to the correct places in platform.mk - This means the samples will actually compile now.
The problem comes when I run the sample, sobel. Looking at the energy monitor application I can see a spike in the CPU wattage whenever I run sobel, and there is no change in the GPU. I have also tried to run the SDK on a board without POCL installed ( I thought this may have been causing the problem), when I do this sobel does not run, I get the error:
OpenCL error:Unknown error
Retrieving OpenCL platforms failed. common.cpp:233
Failed to create OpenCL context. sobel.cpp
And running clinfo reveals there are no OpenCL platforms to be found on this board. I have installed the drivers from here into /usr/lib
I also have the ocl icd installed.
Putting the new image on solved my problem, I'm now able to run code on the GPU like I expect.
Hi grailor, do you know which image you used? I've just start playing with the Juno Board but Had the same problem with OpenCL.
```
root@genericarmv8:~/work/Mali_OpenCL_SDK_v1.1.0/samples/hello_world_opencl# export LD_LIBRARY_PATH=/home/root/work/Mali_OpenCL_SDK_v1.1.0/lib/
root@genericarmv8:~/work/Mali_OpenCL_SDK_v1.1.0/samples/hello_world_opencl# ./hello_world_opencl OpenCL error: Unknown error
Failed to create an OpenCL context. hello_world_opencl.cpp:39