I recently compiled the OpenCL-ICD-Loader (from the Khronos github, see bottom of post) using the generic Khronos headers (from the Khronos github, see bottom of post), however whenever I use said loader it gives a -1001 error code (CL_PLATFORM_NOT_FOUND_KHR) leading me to the conclusion that said headers may just not support the Adreno 650 my device utilises. I have obtained the appropriate headers from the Adreno SDK v5.0 only to find some files missing that are needed for the loader: cl_icd.h, cl_egl.h and cl_layer.h. It just doesn't compile without them, I have tried filling in the listed files with the generic Khronos headers but it just gives errors upon compilation of the ICD-Loader.
Edit: I am aware of the libOpenCL.so in the /system/vendor/lib directory of Android.
Excuse me if I may sound noobish, I don't really do this sort of stuff regularly.
OpenCL-ICD-Loader I'm trying to compile: