errors for running opencl on i.max6q

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

errors for running opencl on i.max6q

488 Views
lidinihao
Contributor I

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?

0 Kudos
1 Reply

368 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi

Error -32 stand for:

CL_INVALID_PLATFORMclGetDeviceIDsif an invalid platform was given

Also this might help to start with OpenCL on i.MX6

https://community.nxp.com/docs/DOC-93984 

Regards

0 Kudos