Skip to content

Instantly share code, notes, and snippets.

@karolherbst
Created April 12, 2022 15:14
Show Gist options
  • Save karolherbst/49ebb0d4c4a261d8ed8291c4789009b2 to your computer and use it in GitHub Desktop.
Save karolherbst/49ebb0d4c4a261d8ed8291c4789009b2 to your computer and use it in GitHub Desktop.
./build/test_conformance/images/kernel_read_write/test_image_streams int 2D CL_RGBA CL_SIGNED_INT32 CL_FILTER_NEAREST CL_ADDRESS_CLAMP read
Initializing random seed to 0.
Requesting GPU device based on environment variable for platform index 0 and device index 0
Compute Device Name = Mesa Intel(R) UHD Graphics (CML GT2), Compute Device Vendor = Intel, Compute Device Version = OpenCL 3.0, CL C Version = OpenCL C 1.2
Device latest conformance version passed:
Supports single precision denormals: NO
sizeof( void*) = 8 (host)
WARNING: OpenCL support via iris+clover is incomplete.
For a complete and conformant OpenCL implementation, use
https://github.com/intel/compute-runtime instead
sizeof( void*) = 8 (device)
2D...
---- Supported 2D read formats for this device ----
CL_R CL_UNORM_INT8 1
CL_R CL_UNORM_INT16 1
CL_R CL_SIGNED_INT8 1
CL_R CL_SIGNED_INT16 1
CL_R CL_SIGNED_INT32 1
CL_R CL_UNSIGNED_INT8 1
CL_R CL_UNSIGNED_INT16 1
CL_R CL_UNSIGNED_INT32 1
CL_R CL_HALF_FLOAT 1
CL_R CL_FLOAT 1
CL_RGBA CL_UNORM_INT8 4
CL_RGBA CL_UNORM_INT16 4
CL_RGBA CL_SIGNED_INT8 4
CL_RGBA CL_SIGNED_INT16 4
CL_RGBA CL_SIGNED_INT32 4
CL_RGBA CL_UNSIGNED_INT8 4
CL_RGBA CL_UNSIGNED_INT16 4
CL_RGBA CL_UNSIGNED_INT32 4
CL_RGBA CL_HALF_FLOAT 4
CL_RGBA CL_FLOAT 4
CL_BGRA CL_UNORM_INT8 4
-------------------------------------------
read_image (integer coords, int results) *****************************
[CL_RGBA CL_SIGNED_INT32 4] - CL_FILTER_NEAREST - CL_ADDRESS_CLAMP - UNNORMALIZED
read_image (unnormalized float coords, int results) *****************************
[CL_RGBA CL_SIGNED_INT32 4] - CL_FILTER_NEAREST - CL_ADDRESS_CLAMP - UNNORMALIZED
FAILED norm_offsets: 0 , 0:
Sample 41: coord {46.000000(0x1.700000p+5), -0.000000(-0x1.000000p-30)} did not validate!
Expected (0,0,0,0),
got (b7613820,d76514b6,4a168480,43c55b26)
img size 167,177 (pitch 2672) Value really found in image at 46,0 (unique)
FAILED: [CL_RGBA CL_SIGNED_INT32 4] - CL_FILTER_NEAREST - CL_ADDRESS_CLAMP - UNNORMALIZED
read_image (normalized float coords, int results) *****************************
[CL_RGBA CL_SIGNED_INT32 4] - CL_FILTER_NEAREST - CL_ADDRESS_CLAMP - NORMALIZED
FAILED norm_offsets: 0 , 0:
Sample 1: coord {0.000000(0x0.000000p+0), 0.016949(0x1.15b1e6p-6)} did not validate!
Expected (b571f9e4,8bb831e4,b41f954,92f7afb7),
got (a3a1c0b7,61a33e64,662f6cc4,5a0106f)
img size 167,177 (pitch 2672) which would clamp to 0,3
Value really found in image at 0,2 (unique)
FAILED: [CL_RGBA CL_SIGNED_INT32 4] - CL_FILTER_NEAREST - CL_ADDRESS_CLAMP - NORMALIZED
2D FAILED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment