Bug in fission CL_DEVICE_PARTITION_TYPES_EXT

Bug in fission CL_DEVICE_PARTITION_TYPES_EXT

I'm trying to get the fission extension up and running under 1.1 beta (64 bit), and it looks like CL_DEVICE_PARTITION_TYPES_EXT returns an incorrect number for the returned size.

Calling:

clGetDeviceInfo(id, CL_DEVICE_PARTITION_TYPES_EXT, 0, NULL, &size)

on my Q9450 will put 3 into &size. This seems to be the number of valid array entries returned by the function, but clGetDeviceInfo should always return the number of bytes.

There is a similar problem with the input param_value_size -- it expects the max number of elements available but should expect the max number of bytes available.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Thanks for reporting this, I'll file a bug report. Please report any other problems you encounter when using Device Fission.

Doron

Login to leave a comment.