Hi Sven,

Sven Warris <[email protected]> writes:
> The current documentation on cl device fission states that 
> create_sub_devices is a method of Context, but it is a method of Device.
> In my code this works out as:
>
> self.device = 
> self.device.create_sub_devices([cl.device_partition_property.EQUALLY,int(number_of_compute_units)])[int(sub_device)]

Thanks for reporting this. Fixed online and in git.

Andreas

_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to