basic / progvar_prog_scope_init FAIL

Test metadata

Name progvar_prog_scope_init
Category basic
Suite Khronos OpenCL CTS
Suite version 80a4a833
Executable path /test_conformance/basic/bin/test_basic
Arguments progvar_prog_scope_init

Run metadata

Parent job Job 126
Revision dc4330a9259f8a5… / [SPIR-V] Promote arbitrary width ints to regular width
Driver version NEO 22.34.24023; IGC 1.0.11702.1
Date run 03/22/2023
Duration 0 minutes
Status FAIL

Runner output

Stdout from the runner of the corresponding OpenCL CTS test:

Initializing random seed to 0.
Requesting Default device based on command line for platform index 0 and device index 0
Compute Device Name = Intel(R) UHD Graphics 630 [0x3e98], Compute Device Vendor = Intel(R) Corporation, Compute Device Version = OpenCL 3.0 NEO , CL C Version = OpenCL C 1.2
Device latest conformance version passed: v2022-04-22-00
Supports single precision denormals: YES
sizeof( void*) = 8 (host)
sizeof( void*) = 8 (device)
progvar_prog_scope_init...
bool OK
uchar OK
uchar2 Error: init-write-read test for type uchar2, at index 3: Expected uchar2<00, 00> got uchar2<01, 01>
uchar3 Error: init-write-read test for type uchar3, at index 1: Expected uchar3<01, 01, 01> got uchar3<00, 00, 00>
uchar4 Error: init-write-read test for type uchar4, at index 1: Expected uchar4<01, 01, 01, 01> got uchar4<00, 00, 00, 00>
uchar8 Error: init-write-read test for type uchar8, at index 3: Expected uchar8<00, 00, 00, 00, 00, 00, 00, 00> got uchar8<01, 01, 01, 01, 01, 01, 01, 01>
uchar16 Error: init-write-read test for type uchar16, at index 3: Expected uchar16<00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00> got uchar16<01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01>
char OK
char2 Error: init-write-read test for type char2, at index 3: Expected char2<00, 00> got char2<01, 01>
char3 Error: init-write-read test for type char3, at index 1: Expected char3<01, 01, 01> got char3<00, 00, 00>
char4 Error: init-write-read test for type char4, at index 1: Expected char4<01, 01, 01, 01> got char4<00, 00, 00, 00>
char8 Error: init-write-read test for type char8, at index 3: Expected char8<00, 00, 00, 00, 00, 00, 00, 00> got char8<01, 01, 01, 01, 01, 01, 01, 01>
char16 Error: init-write-read test for type char16, at index 3: Expected char16<00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00> got char16<01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01, 01>
ushort Error: init-write-read test for type ushort, at index 3: Expected ushort<0000> got ushort<0100>
ushort2 Error: init-write-read test for type ushort2, at index 1: Expected ushort2<0100, 0100> got ushort2<0000, 0000>
ushort3 Error: init-write-read test for type ushort3, at index 3: Expected ushort3<0000, 0000, 0000> got ushort3<0100, 0100, 0100>
ushort4 Error: init-write-read test for type ushort4, at index 3: Expected ushort4<0000, 0000, 0000, 0000> got ushort4<0100, 0100, 0100, 0100>
ushort8 Error: init-write-read test for type ushort8, at index 3: Expected ushort8<0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000> got ushort8<0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100>
ushort16 Error: init-write-read test for type ushort16, at index 3: Expected ushort16<0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000> got ushort16<0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100>
short Error: init-write-read test for type short, at index 3: Expected short<0000> got short<0100>
short2 Error: init-write-read test for type short2, at index 1: Expected short2<0100, 0100> got short2<0000, 0000>
short3 Error: init-write-read test for type short3, at index 3: Expected short3<0000, 0000, 0000> got short3<0100, 0100, 0100>
short4 Error: init-write-read test for type short4, at index 3: Expected short4<0000, 0000, 0000, 0000> got short4<0100, 0100, 0100, 0100>
short8 Error: init-write-read test for type short8, at index 3: Expected short8<0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000> got short8<0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100>
short16 Error: init-write-read test for type short16, at index 3: Expected short16<0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000> got short16<0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100, 0100>
uint Error: init-write-read test for type uint, at index 1: Expected uint<01000000> got uint<00000000>
uint2 Error: init-write-read test for type uint2, at index 3: Expected uint2<00000000, 00000000> got uint2<01000000, 01000000>
uint3 Error: init-write-read test for type uint3, at index 3: Expected uint3<00000000, 00000000, 00000000> got uint3<01000000, 01000000, 01000000>
uint4 Error: init-write-read test for type uint4, at index 3: Expected uint4<00000000, 00000000, 00000000, 00000000> got uint4<01000000, 01000000, 01000000, 01000000>
uint8 Error: init-write-read test for type uint8, at index 3: Expected uint8<00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000> got uint8<01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000>
uint16 Error: init-write-read test for type uint16, at index 3: Expected uint16<00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000> got uint16<01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000>
int Error: init-write-read test for type int, at index 1: Expected int<01000000> got int<00000000>
int2 Error: init-write-read test for type int2, at index 3: Expected int2<00000000, 00000000> got int2<01000000, 01000000>
int3 Error: init-write-read test for type int3, at index 3: Expected int3<00000000, 00000000, 00000000> got int3<01000000, 01000000, 01000000>
int4 Error: init-write-read test for type int4, at index 3: Expected int4<00000000, 00000000, 00000000, 00000000> got int4<01000000, 01000000, 01000000, 01000000>
int8 Error: init-write-read test for type int8, at index 3: Expected int8<00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000> got int8<01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000>
int16 Error: init-write-read test for type int16, at index 3: Expected int16<00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000> got int16<01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000, 01000000>
ulong Error: init-write-read test for type ulong, at index 3: Expected ulong<0000000000000000> got ulong<0100000000000000>
ulong2 Error: init-write-read test for type ulong2, at index 3: Expected ulong2<0000000000000000, 0000000000000000> got ulong2<0100000000000000, 0100000000000000>
ulong3 Error: init-write-read test for type ulong3, at index 3: Expected ulong3<0000000000000000, 0000000000000000, 0000000000000000> got ulong3<0100000000000000, 0100000000000000, 0100000000000000>
ulong4 Error: init-write-read test for type ulong4, at index 3: Expected ulong4<0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000> got ulong4<0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000>
ulong8 Error: init-write-read test for type ulong8, at index 3: Expected ulong8<0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000> got ulong8<0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000>
ulong16 Error: init-write-read test for type ulong16, at index 3: Expected ulong16<0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000> got ulong16<0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000>
long Error: init-write-read test for type long, at index 3: Expected long<0000000000000000> got long<0100000000000000>
long2 Error: init-write-read test for type long2, at index 3: Expected long2<0000000000000000, 0000000000000000> got long2<0100000000000000, 0100000000000000>
long3 Error: init-write-read test for type long3, at index 3: Expected long3<0000000000000000, 0000000000000000, 0000000000000000> got long3<0100000000000000, 0100000000000000, 0100000000000000>
long4 Error: init-write-read test for type long4, at index 3: Expected long4<0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000> got long4<0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000>
long8 Error: init-write-read test for type long8, at index 3: Expected long8<0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000> got long8<0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000>
long16 Error: init-write-read test for type long16, at index 3: Expected long16<0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000> got long16<0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000, 0100000000000000>
float Error: init-write-read test for type float, at index 1: Expected float<0000803f> got float<00000000>
float2 Error: init-write-read test for type float2, at index 3: Expected float2<00000000, 00000000> got float2<0000803f, 0000803f>
float3 Error: init-write-read test for type float3, at index 3: Expected float3<00000000, 00000000, 00000000> got float3<0000803f, 0000803f, 0000803f>
float4 Error: init-write-read test for type float4, at index 3: Expected float4<00000000, 00000000, 00000000, 00000000> got float4<0000803f, 0000803f, 0000803f, 0000803f>
float8 Error: init-write-read test for type float8, at index 3: Expected float8<00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000> got float8<0000803f, 0000803f, 0000803f, 0000803f, 0000803f, 0000803f, 0000803f, 0000803f>
float16 Error: init-write-read test for type float16, at index 3: Expected float16<00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000> got float16<0000803f, 0000803f, 0000803f, 0000803f, 0000803f, 0000803f, 0000803f, 0000803f, 0000803f, 0000803f, 0000803f, 0000803f, 0000803f, 0000803f, 0000803f, 0000803f>
double Error: init-write-read test for type double, at index 3: Expected double<0000000000000000> got double<000000000000f03f>
double2 Error: init-write-read test for type double2, at index 3: Expected double2<0000000000000000, 0000000000000000> got double2<000000000000f03f, 000000000000f03f>
double3 Error: init-write-read test for type double3, at index 3: Expected double3<0000000000000000, 0000000000000000, 0000000000000000> got double3<000000000000f03f, 000000000000f03f, 000000000000f03f>
double4 Error: init-write-read test for type double4, at index 3: Expected double4<0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000> got double4<000000000000f03f, 000000000000f03f, 000000000000f03f, 000000000000f03f>
double8 Error: init-write-read test for type double8, at index 3: Expected double8<0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000> got double8<000000000000f03f, 000000000000f03f, 000000000000f03f, 000000000000f03f, 000000000000f03f, 000000000000f03f, 000000000000f03f, 000000000000f03f>
double16 Error: init-write-read test for type double16, at index 3: Expected double16<0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000> got double16<000000000000f03f, 000000000000f03f, 000000000000f03f, 000000000000f03f, 000000000000f03f, 000000000000f03f, 000000000000f03f, 000000000000f03f, 000000000000f03f, 000000000000f03f, 000000000000f03f, 000000000000f03f, 000000000000f03f, 000000000000f03f, 000000000000f03f, 000000000000f03f>
intptr_t Error: init-write-read test for type intptr_t, at index 3: Expected intptr_t<0000000000000000> got intptr_t<0100000000000000>
uintptr_t Error: init-write-read test for type uintptr_t, at index 3: Expected uintptr_t<0000000000000000> got uintptr_t<0100000000000000>
size_t Error: init-write-read test for type size_t, at index 3: Expected size_t<0000000000000000> got size_t<0100000000000000>
ptrdiff_t Error: init-write-read test for type ptrdiff_t, at index 3: Expected ptrdiff_t<0000000000000000> got ptrdiff_t<0100000000000000>
atomic_int Error: init-write-read test for type atomic_int, at index 1: Expected atomic_int<01000000> got atomic_int<00000000>
atomic_uint Error: init-write-read test for type atomic_uint, at index 1: Expected atomic_uint<01000000> got atomic_uint<00000000>
atomic_long Error: init-write-read test for type atomic_long, at index 3: Expected atomic_long<0000000000000000> got atomic_long<0100000000000000>
atomic_ulong Error: init-write-read test for type atomic_ulong, at index 3: Expected atomic_ulong<0000000000000000> got atomic_ulong<0100000000000000>
atomic_float Error: init-write-read test for type atomic_float, at index 1: Expected atomic_float<0000803f> got atomic_float<00000000>
atomic_double Error: init-write-read test for type atomic_double, at index 3: Expected atomic_double<0000000000000000> got atomic_double<000000000000f03f>
atomic_intptr_t Error: init-write-read test for type atomic_intptr_t, at index 3: Expected atomic_intptr_t<0000000000000000> got atomic_intptr_t<0100000000000000>
atomic_uintptr_t Error: init-write-read test for type atomic_uintptr_t, at index 3: Expected atomic_uintptr_t<0000000000000000> got atomic_uintptr_t<0100000000000000>
atomic_size_t Error: init-write-read test for type atomic_size_t, at index 3: Expected atomic_size_t<0000000000000000> got atomic_size_t<0100000000000000>
atomic_ptrdiff_t Error: init-write-read test for type atomic_ptrdiff_t, at index 3: Expected atomic_ptrdiff_t<0000000000000000> got atomic_ptrdiff_t<0100000000000000>
progvar_prog_scope_init FAILED
PASSED sub-test.
FAILED test.

Stderr from the runner of the corresponding OpenCL CTS test:

Runner dumps

The files below were generated by the Intel Graphics Compiler after setting the IGC_ShaderDumpEnable=1 variable. OCL_asmX_before_spirv_backend.spv is the input binary SPIR-V generated by the IGC's OpenCL frontend, from which the SPIRV-LLVM-Translator generates OCL_asmX_before_spirv_backend.ll module which is passed to the SPIR-V backend. The backend outputs OCL_asmX_after_spirv_backend.spv SPIR-V binary which returns to IGC to be translated to LLVM module OCL_asmX_after_spirv_backend.ll for further compilation.