I have an EB5 device with an Adreno 650 GPU.
I'm able to run normally my object detection model outside a Docker environment using SNPE SDK.
However, when I try to run the same software I found a problem. After inspecting it deeper, I tried to run the following:
./snpe-platform-validator --runtime gpu --debug
This script is present in the SNPE SDK.
Outside the Docker, it doesn't throw any error, inside Docker I receive:
PF_VALIDATOR: DEBUG: Calling PlatformValidator->setRuntime PF_VALIDATOR: DEBUG: Calling PlatformValidator->RuntimeCheck PF_VALIDATOR: ERROR: Failed to query OpenCL platform. Unit Test on the runtime GPU: Failed. SNPE is NOT supported for runtime GPU on the device. PF_VALIDATOR: DEBUG: Calling PlatformValidator->IsRuntimeAvailable PF_VALIDATOR: ERROR: Could not find libOpenCL.so or libOpenCL_system.so. Runtime GPU Prerequisites: Absent. Error in saving the results
I tried to install libOpenCL.so as follows: sudo apt install ocl-icd-opencl-dev
PF_VALIDATOR: DEBUG: Calling PlatformValidator->RuntimeCheck PF_VALIDATOR: ERROR: Failed to query OpenCL platform. Unit Test on the runtime GPU: Failed. SNPE is NOT supported for runtime GPU on the device. PF_VALIDATOR: DEBUG: Calling PlatformValidator->IsRuntimeAvailable Runtime GPU Prerequisites: Present. Error in saving the results
Did anyone already face and was able to overcome this?
Did you have any luck with this?!! I encountered exactly same issue. Not able to access GPU from inside docker container.
No, I'm still on the same page.