errors for running opencl on i.max6q

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

errors for running opencl on i.max6q

503件の閲覧回数
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 件の賞賛
1 返信

383件の閲覧回数
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 件の賞賛