Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set CL_DEVICE_IMAGE_PITCH_ALIGNMENT to 1 when images are supported.
The spec says that it should be 0 if images are not supported. Otherwise it should be a power of 2. 0 isn't a power of 2 and causes problems with tests which expect to be able to use CL_DEVICE_IMAGE_PITCH_ALIGNMENT to calculate memory allocation sizes etc.
- Loading branch information