compiler / features_macro PASS

Test metadata

Name features_macro
Category compiler
Suite Khronos OpenCL CTS
Suite version 80a4a833
Executable path /test_conformance/compiler/bin/test_compiler
Arguments features_macro

Run metadata

Parent job Job 113
Revision 2ca51d43f10cf99… / phab-diff-500842: [SPIRV] fix several issues in builds with expe…
Driver version NEO 22.34.24023; IGC 1.0.11702.1
Date run 03/01/2023
Duration 0 minutes
Status PASS

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)
features_macro...

__opencl_c_program_scope_global_variables ...
Feature status: API - supported, compiler - supported
__opencl_c_program_scope_global_variables - passed

__opencl_c_3d_image_writes ...
Feature status: API - supported, compiler - supported
__opencl_c_3d_image_writes - passed

__opencl_c_atomic_order_acq_rel ...
Feature status: API - supported, compiler - supported
__opencl_c_atomic_order_acq_rel - passed

__opencl_c_atomic_order_seq_cst ...
Feature status: API - supported, compiler - supported
__opencl_c_atomic_order_seq_cst - passed

__opencl_c_atomic_scope_device ...
Feature status: API - supported, compiler - supported
__opencl_c_atomic_scope_device - passed

__opencl_c_atomic_scope_all_devices ...
Feature status: API - supported, compiler - supported
__opencl_c_atomic_scope_all_devices - passed

__opencl_c_device_enqueue ...
Feature status: API - not supported, compiler - not supported
__opencl_c_device_enqueue - passed

__opencl_c_generic_address_space ...
Feature status: API - supported, compiler - supported
__opencl_c_generic_address_space - passed

__opencl_c_pipes ...
Feature status: API - supported, compiler - supported
__opencl_c_pipes - passed

__opencl_c_read_write_images ...
Feature status: API - supported, compiler - supported
__opencl_c_read_write_images - passed

__opencl_c_subgroups ...
Feature status: API - supported, compiler - supported
__opencl_c_subgroups - passed

__opencl_c_work_group_collective_functions ...
Feature status: API - supported, compiler - supported
__opencl_c_work_group_collective_functions - passed

__opencl_c_images ...
Feature status: API - supported, compiler - supported
__opencl_c_images - passed

__opencl_c_fp64 ...
Feature status: API - supported, compiler - supported
__opencl_c_fp64 - passed

__opencl_c_int64 ...
Feature status: API - supported, compiler - supported
__opencl_c_int64 - passed

Comparison list of features: CL_DEVICE_OPENCL_C_FEATURES vs API/compiler queries.
Comparison list of features - passed
Supported features based on CL_DEVICE_OPENCL_C_FEATURES API query:
__opencl_c_3d_image_writes
__opencl_c_atomic_order_acq_rel
__opencl_c_atomic_order_seq_cst
__opencl_c_atomic_scope_all_devices
__opencl_c_atomic_scope_device
__opencl_c_fp64
__opencl_c_generic_address_space
__opencl_c_images
__opencl_c_int64
__opencl_c_pipes
__opencl_c_program_scope_global_variables
__opencl_c_read_write_images
__opencl_c_subgroups
__opencl_c_work_group_collective_functions

Supported features based on queries to API/compiler :
__opencl_c_3d_image_writes
__opencl_c_atomic_order_acq_rel
__opencl_c_atomic_order_seq_cst
__opencl_c_atomic_scope_all_devices
__opencl_c_atomic_scope_device
__opencl_c_fp64
__opencl_c_generic_address_space
__opencl_c_images
__opencl_c_int64
__opencl_c_pipes
__opencl_c_program_scope_global_variables
__opencl_c_read_write_images
__opencl_c_subgroups
__opencl_c_work_group_collective_functions
features_macro passed
PASSED sub-test.
PASSED 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.