2
0
mirror of https://github.com/boostorg/compute.git synced 2026-01-26 18:32:48 +00:00
Files
compute/example
Kyle Lutz 518d39fc2b Use bitwise-and to check device::type()
This changes the checks for the device type to use the bitwise-and
operator instead of the equaility operator. The returned type is a
bitset and this would cause errors when multiple bits were set.

This fixes a bug on POCL which returns the device type as a
combination of CL_DEVICE_TYPE_DEFAULT and CL_DEVICE_TYPE_CPU. Now
the correct device type (device::cpu) is detected for POCL.
2013-09-07 14:16:20 -04:00
..
2013-05-20 20:50:12 -04:00
2013-05-20 20:50:12 -04:00
2013-05-20 20:50:12 -04:00
2013-05-20 20:50:12 -04:00
2013-05-20 20:50:12 -04:00
2013-05-20 20:50:12 -04:00
2013-05-20 20:50:12 -04:00
2013-05-20 21:08:42 -04:00
2013-05-20 20:50:12 -04:00
2013-05-20 20:50:12 -04:00