cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

pavandsp
Adept I

OpenCL datatype definition

Hi ,

For OpenCL datatypes like cl_platform_id,cl_context_properties.Please let me know the exact definition of the data type.

I couldn't see the def in specs or in khronos ref pages.

-Pavan

0 Likes
2 Replies

pavan,
The definition of these data types are a pointer to a implementation specific data type. They are in the OpenCL header file.
Example:
typedef struct _cl_platform_id * cl_platform_id;
0 Likes

I Got it ,Thanks Micah Villmow.

0 Likes