with i.max6q board, kernel 3.14, i write a simple opencl code to test, but opencl funcs runs error with return. more detailed codes as described below:
ret = clGetPlatformIDs(1, &cpPlatform, &numplats); this return -1001
ret1 = clGetDeviceIDs(cpPlatform, CL_DEVICE_TYPE_GPU, 1, &cdDevice, &num); this return -32
i have checked the driver galcore is installed, why errors is here, can someoone help me to fix it?
Hi
Error -32 stand for:
CL_INVALID_PLATFORM | clGetDeviceIDs | if an invalid platform was given |
Also this might help to start with OpenCL on i.MX6
https://community.nxp.com/docs/DOC-93984
Regards