returns true if the device is from Apple OpenCL platform
| 27 | |
| 28 | // returns true if the device is from Apple OpenCL platform |
| 29 | inline bool is_apple_device(const boost::compute::device &device) |
| 30 | { |
| 31 | return device.platform().name() == "Apple"; |
| 32 | } |
| 33 | |
| 34 | // AMD platforms have a bug when using struct assignment. this affects |
| 35 | // algorithms like fill() when used with pairs/tuples. |
no test coverage detected