owcheng

cl_ext_device_fission in OpenCL1.1

Discussion created by owcheng on Sep 20, 2010
Latest reply on Sep 20, 2010 by nou

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); }

Outcomes