| 414 | } |
| 415 | |
| 416 | size_t get_cl_image_pitch_alignment(const cl::Device &device) |
| 417 | { |
| 418 | cl_uint pixel_aligment = 0; |
| 419 | |
| 420 | cl_int err = clGetDeviceInfo(device(), CL_DEVICE_IMAGE_PITCH_ALIGNMENT, sizeof(cl_uint), &pixel_aligment, nullptr); |
| 421 | |
| 422 | if (err == CL_SUCCESS) |
| 423 | { |
| 424 | return pixel_aligment; |
| 425 | } |
| 426 | else |
| 427 | { |
| 428 | return 0; |
| 429 | } |
| 430 | } |
| 431 | |
| 432 | bool get_cl_non_uniform_work_group_supported(const cl::Device &device) |
| 433 | { |
no test coverage detected