On Apple devices clCreateBuffer does not return NULL and does no set error to CL_INVALID_BUFFER_SIZE when size of the buffer memory object is greater than CL_DEVICE_MAX_MEM_ALLOC_SIZE.
| 68 | // to CL_INVALID_BUFFER_SIZE when size of the buffer memory object is greater |
| 69 | // than CL_DEVICE_MAX_MEM_ALLOC_SIZE. |
| 70 | inline bool bug_in_clcreatebuffer(const boost::compute::device &device) |
| 71 | { |
| 72 | return is_apple_device(device); |
| 73 | } |
| 74 | |
| 75 | // returns true if the device supports image samplers. |
| 76 | inline bool supports_image_samplers(const boost::compute::device &device) |
no test coverage detected