Forum Discussion

Aaditya_Chaudhary's avatar
Aaditya_Chaudhary
Icon for New Contributor rankNew Contributor
5 years ago

How to get the size of “_cl_devide_id” struct in openCL?

cl_device_id is defined as "typedef struct _cl_device_id *cl_device_id". In the openCL method clGetDeviceIDs, "devices" parameter is of the type "cl_device_id *" and returns a pointer to the list o...