intel / llvm

Intel staging area for llvm.org contribution. Home for Intel LLVM-based projects.
Other
1.21k stars 724 forks source link

Test SYCL :: InvokeSimd/Spec/clang_run_error/reference_argument.cpp is failing on GPU #14643

Closed lbushi25 closed 1 month ago

lbushi25 commented 1 month ago

Describe the bug

The test SYCL :: InvokeSimd/Spec/clang_run_error/reference_argument.cpp is failing on GPU. Upon resolution, please remove XFAIL directive from test source. The reproduction snippet is taken from the CI of this PR: https://github.com/intel/llvm/pull/14354 Note that the PR logs eventually expire so refer to the sections below for consistent reproduction.

To reproduce

# RUN: at line 1
not  /__w/llvm/llvm/toolchain/bin//clang++   -fsycl -fsycl-targets=spir64  /__w/llvm/llvm/llvm/sycl/test-e2e/InvokeSimd/Spec/clang_run_error/reference_argument.cpp -fno-sycl-device-code-split-esimd -Xclang -fsycl-allow-func-ptr /__w/llvm/llvm/llvm/sycl/test-e2e/InvokeSimd/Spec/clang_run_error/reference_argument.cpp -o /__w/llvm/llvm/build-e2e/InvokeSimd/Spec/clang_run_error/Output/reference_argument.cpp.tmp.out 2>&1 | /__w/llvm/llvm/toolchain/bin/FileCheck
# executed command: not /__w/llvm/llvm/toolchain/bin//clang++ -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/InvokeSimd/Spec/clang_run_error/reference_argument.cpp -fno-sycl-device-code-split-esimd -Xclang -fsycl-allow-func-ptr /__w/llvm/llvm/llvm/sycl/test-e2e/InvokeSimd/Spec/clang_run_error/reference_argument.cpp -o /__w/llvm/llvm/build-e2e/InvokeSimd/Spec/clang_run_error/Output/reference_argument.cpp.tmp.out

Environment

Platforms: 5 Platform [#1]: Version : OpenCL 3.0 Name : Intel(R) OpenCL Graphics Vendor : Intel(R) Corporation Devices : 1 Device [#0]: Type : gpu Version : OpenCL 3.0 NEO Name : Intel(R) Iris(R) Xe Graphics Vendor : Intel(R) Corporation Driver : 24.13.29138.7 UUID : 13412873154100002000000 Num SubDevices : 0 Num SubSubDevices : 0 Aspects : gpu fp16 online_compiler online_linker queue_profiling usm_device_allocations usm_host_allocations usm_shared_allocations atomic64 ext_intel_device_info_uuid ext_oneapi_srgb ext_intel_device_id ext_intel_legacy_image ext_intel_esimd ext_oneapi_ballot_group ext_oneapi_fixed_size_group ext_oneapi_opportunistic_group ext_oneapi_tangle_group ext_oneapi_private_alloca info::device::sub_group_sizes: 8 16 32 Architecture: intel_gpu_tgllp Platform [#2]: Version : OpenCL 3.0 LINUX Name : Intel(R) OpenCL Vendor : Intel(R) Corporation Devices : 1 Device [#1]: Type : cpu Version : OpenCL 3.0 (Build 0) Name : 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz Vendor : Intel(R) Corporation Driver : 2024.17.3.0.09_160000 Num SubDevices : 0 Num SubSubDevices : 0 Aspects : cpu fp16 fp64 online_compiler online_linker queue_profiling usm_device_allocations usm_host_allocations usm_shared_allocations usm_system_allocations usm_atomic_host_allocations usm_atomic_shared_allocations atomic64 ext_oneapi_srgb ext_oneapi_native_assert ext_intel_legacy_image ext_oneapi_ballot_group ext_oneapi_fixed_size_group ext_oneapi_opportunistic_group ext_oneapi_tangle_group ext_oneapi_private_alloca info::device::sub_group_sizes: 4 8 16 32 64 Architecture: x86_64 Platform [#3]: Version : OpenCL 1.2 Intel(R) FPGA SDK for OpenCL(TM), Version 20.3 Name : Intel(R) FPGA Emulation Platform for OpenCL(TM) Vendor : Intel(R) Corporation Devices : 1 Device [#2]: Type : fpga Version : OpenCL 1.2 Name : Intel(R) FPGA Emulation Device Vendor : Intel(R) Corporation Driver : 2024.17.3.0.09_160000 Num SubDevices : 0 Num SubSubDevices : 0 Aspects : accelerator fp64 online_compiler online_linker queue_profiling usm_device_allocations usm_host_allocations usm_shared_allocations usm_atomic_host_allocations usm_atomic_shared_allocations ext_oneapi_srgb ext_oneapi_ballot_group ext_oneapi_fixed_size_group ext_oneapi_opportunistic_group ext_oneapi_tangle_group ext_intel_fpga_task_sequence ext_oneapi_private_alloca info::device::sub_group_sizes: 4 8 16 32 64 Architecture: unknown Platform [#4]: Version : 1.3 Name : Intel(R) Level-Zero Vendor : Intel(R) Corporation Devices : 1 Device [#0]: Type : gpu Version : 12.0.0 Name : Intel(R) Iris(R) Xe Graphics Vendor : Intel(R) Corporation Driver : 1.3.29138 UUID : 13412873154100002000000 Num SubDevices : 0 Num SubSubDevices : 0 Aspects : gpu fp16 online_compiler online_linker queue_profiling usm_device_allocations usm_host_allocations usm_shared_allocations ext_intel_pci_address ext_intel_gpu_eu_count ext_intel_gpu_eu_simd_width ext_intel_gpu_slices ext_intel_gpu_subslices_per_slice ext_intel_gpu_eu_count_per_subslice atomic64 ext_intel_device_info_uuid ext_intel_gpu_hw_threads_per_eu ext_intel_device_id ext_intel_memory_clock_rate ext_intel_memory_bus_width ext_intel_legacy_image ext_oneapi_bindless_images ext_oneapi_bindless_images_shared_usm ext_oneapi_bindless_images_2d_usm ext_oneapi_mipmap ext_oneapi_mipmap_anisotropy ext_intel_esimd ext_oneapi_ballot_group ext_oneapi_fixed_size_group ext_oneapi_opportunistic_group ext_oneapi_tangle_group ext_oneapi_limited_graph ext_oneapi_private_alloca ext_oneapi_queue_profiling_tag info::device::sub_group_sizes: 8 16 32 Architecture: intel_gpu_tgllp Platform [#5]: Version : 0.1 Name : SYCL_NATIVE_CPU Vendor : tbd Devices : 1 Device [#0]: Type : cpu Version : 0.1 Name : SYCL Native CPU Vendor : Intel(R) Corporation Driver : 0.0.0 Num SubDevices : 0 Num SubSubDevices : 0 Aspects : cpu fp16 fp64 queue_profiling usm_device_allocations usm_host_allocations usm_shared_allocations usm_system_allocations usm_atomic_host_allocations usm_atomic_shared_allocations atomic64 info::device::sub_group_sizes: 1 Architecture: unknown default_selector() : gpu, Intel(R) Level-Zero, Intel(R) Iris(R) Xe Graphics 12.0.0 [1.3.29138] accelerator_selector() : fpga, Intel(R) FPGA Emulation Platform for OpenCL(TM), Intel(R) FPGA Emulation Device OpenCL 1.2 [2024.17.3.0.09_160000] cpu_selector() : cpu, Intel(R) OpenCL, 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz OpenCL 3.0 (Build 0) [2024.17.3.0.09_160000] gpu_selector() : gpu, Intel(R) Level-Zero, Intel(R) Iris(R) Xe Graphics 12.0.0 [1.3.29138] custom_selector(gpu) : gpu, Intel(R) Level-Zero, Intel(R) Iris(R) Xe Graphics 12.0.0 [1.3.29138] custom_selector(cpu) : cpu, Intel(R) OpenCL, 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz OpenCL 3.0 (Build 0) [2024.17.3.0.09_160000] custom_selector(acc) : fpga, Intel(R) FPGA Emulation Platform for OpenCL(TM), Intel(R) FPGA Emulation Device OpenCL 1.2 [2024.17.3.0.09_160000]



### Additional context

_No response_
bader commented 1 month ago

@lbushi25, please, fill "Environment" section fields when you open new trackers. PR logs are kept for a limited period of time (90 days if I recall it correctly). Afte that it might be difficult to reproduce the problem.