cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

owcheng
Journeyman III

cl_ext_device_fission in OpenCL1.1

Hi

I encountered the following linker error: unresolved external symbol _clReleaseDeviceEXT when using the cl_ext_device_fission extension. Below is a snippet of the code:

How can I resolve this error? I'm using Intel Core2Duo + HD5670 + SDK2.2.

Thanks for helping!

if (_type == CL_DEVICE_TYPE_CPU) { cl_device_partition_property_ext _partition_properties[] = {CL_DEVICE_PARTITION_EQUALLY_EXT, 1, CL_PROPERTIES_LIST_END_EXT}; cl_uint _num = 2; cl_device_id _sub_devices[2]; _ciErrNum = clCreateSubDevicesEXT(_device, _partition_properties, _num, _sub_devices, NULL); }

0 Likes
1 Reply
nou
Exemplar

this function isn't exported in OpenCL lib. use clGetExtensionFuncionAddress()

0 Likes