Forum Discussion
Altera_Forum
Honored Contributor
11 years agoWrong behavior of clGetPlatformIDs()
Hi all, I discovered that calling the function cl_int clgetplatformids (cl_uint num_entries, cl_platform_id *platforms, cl_uint *num_platforms) with the platforms parameter set to NULL and the ...
Altera_Forum
Honored Contributor
11 years agoIndeed you seem to have found a bug since per the OpenCL 1.0 specification: "the number of OpenCL platforms returned is the mininum of the value specified by num_entries or the number of OpenCL platforms available." Would you please file an service request (SR) with you myAltera account, including the code snippet you provided, to make sure this gets routed to the right people within Altera.