Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test max_work_group_size_props.cpp and max_linear_work_group_size_props.cpp failing on all adapters #16403

Open
lbushi25 opened this issue Dec 17, 2024 · 0 comments
Labels
bug Something isn't working confirmed

Comments

@lbushi25
Copy link
Contributor

Describe the bug

The E2E tests SYCL :: Basic/max_linear_work_group_size_props.cpp and SYCL :: Basic/max_work_group_size_props.cpp are marked as XFAIL on all adapters. Upon resolution, please remove the XFAIL's from the test source.

To reproduce

FAIL: SYCL :: Basic/max_linear_work_group_size_props.cpp (374 of 2242)
******************** TEST 'SYCL :: Basic/max_linear_work_group_size_props.cpp' FAILED ********************
Exit Code: 3

Command Output (stdout):
--
# RUN: at line 1
/__w/llvm/llvm/toolchain/bin//clang++  -Werror  -fsycl -fsycl-targets=spir64  /__w/llvm/llvm/llvm/sycl/test-e2e/Basic/max_linear_work_group_size_props.cpp -o /__w/llvm/llvm/build-e2e/Basic/Output/max_linear_work_group_size_props.cpp.tmp.out
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -Werror -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/Basic/max_linear_work_group_size_props.cpp -o /__w/llvm/llvm/build-e2e/Basic/Output/max_linear_work_group_size_props.cpp.tmp.out
# note: command had no output on stdout or stderr
# RUN: at line 2
env ONEAPI_DEVICE_SELECTOR=level_zero:gpu  /__w/llvm/llvm/build-e2e/Basic/Output/max_linear_work_group_size_props.cpp.tmp.out
# executed command: env ONEAPI_DEVICE_SELECTOR=level_zero:gpu /__w/llvm/llvm/build-e2e/Basic/Output/max_linear_work_group_size_props.cpp.tmp.out
# .---command stderr------------
# | Test case MaxLinearWGSizeNegative failed: no exception has been thrown
# | Test case MaxLinearWGSizeNegative failed: no exception has been thrown
# | Test case MaxLinearWGSizeNegative failed: no exception has been thrown
# `-----------------------------
# error: command failed with exit status: 3

--

********************
FAIL: SYCL :: Basic/max_work_group_size_props.cpp ([38](https://github.com/intel/llvm/actions/runs/12379217785/job/34553234867?pr=16398#step:22:39)3 of 2242)
******************** TEST 'SYCL :: Basic/max_work_group_size_props.cpp' FAILED ********************
Exit Code: 24

Command Output (stdout):
--
# RUN: at line 1
/__w/llvm/llvm/toolchain/bin//clang++  -Werror  -fsycl -fsycl-targets=spir64  /__w/llvm/llvm/llvm/sycl/test-e2e/Basic/max_work_group_size_props.cpp -o /__w/llvm/llvm/build-e2e/Basic/Output/max_work_group_size_props.cpp.tmp.out
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -Werror -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/Basic/max_work_group_size_props.cpp -o /__w/llvm/llvm/build-e2e/Basic/Output/max_work_group_size_props.cpp.tmp.out
# note: command had no output on stdout or stderr
# RUN: at line 2
env ONEAPI_DEVICE_SELECTOR=level_zero:gpu  /__w/llvm/llvm/build-e2e/Basic/Output/max_work_group_size_props.cpp.tmp.out
# executed command: env ONEAPI_DEVICE_SELECTOR=level_zero:gpu /__w/llvm/llvm/build-e2e/Basic/Output/max_work_group_size_props.cpp.tmp.out
# .---command stderr------------
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# | Test case MaxWGSizeNegative failed: no exception has been thrown
# `-----------------------------
# error: command failed with exit status: 24

--

Environment

  • OS: Any
  • Target device and vendor: level_zero, opencl, hip
  • DPC++ version: da317d0
  • Dependencies version:
2024-12-17T18:41:28.0476163Z shell: sh -e {0}
2024-12-17T18:41:28.0476540Z env:
2024-12-17T18:41:28.0476715Z   CMAKE_PREFIX_PATH: /runtimes/oneapi-tbb/env/..
2024-12-17T18:41:28.0476959Z   CPATH: /runtimes/oneapi-tbb/env/../include
2024-12-17T18:41:28.0477303Z   LD_LIBRARY_PATH: /__w/llvm/llvm/toolchain/lib/:/runtimes/oneapi-tbb/env/../lib/intel64/gcc4.8
2024-12-17T18:41:28.0477694Z   LIBRARY_PATH: /runtimes/oneapi-tbb/env/../lib/intel64/gcc4.8
2024-12-17T18:41:28.0477985Z   PKG_CONFIG_PATH: /runtimes/oneapi-tbb/env/../lib/pkgconfig
2024-12-17T18:41:28.0478236Z   TBBROOT: /runtimes/oneapi-tbb/env/..
2024-12-17T18:41:28.0478571Z   PATH: /__w/llvm/llvm/toolchain/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-12-17T18:41:28.0478904Z ##[endgroup]
2024-12-17T18:41:28.1041169Z [level_zero:gpu][level_zero:0] Intel(R) oneAPI Unified Runtime over Level-Zero, Intel(R) Iris(R) Xe Graphics 12.0.0 [1.6.31294.120000]
2024-12-17T18:41:28.1041727Z [opencl:gpu][opencl:0] Intel(R) OpenCL Graphics, Intel(R) Iris(R) Xe Graphics OpenCL 3.0 NEO  [24.39.31294.12]
2024-12-17T18:41:28.1042232Z [opencl:cpu][opencl:1] Intel(R) OpenCL, 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz OpenCL 3.0 (Build 0) [2024.18.10.0.08_160000]
2024-12-17T18:41:28.1042785Z [opencl:fpga][opencl:2] Intel(R) FPGA Emulation Platform for OpenCL(TM), Intel(R) FPGA Emulation Device OpenCL 1.2  [2024.18.10.0.08_160000]
2024-12-17T18:41:28.1043252Z [native_cpu:cpu][native_cpu:0] SYCL_NATIVE_CPU, SYCL Native CPU 0.1 [0.0.0]
2024-12-17T18:41:28.1043457Z 
2024-12-17T18:41:28.1043521Z Platforms: 5
2024-12-17T18:41:28.1043668Z Platform [#1]:
2024-12-17T18:41:28.1043815Z     Version  : 1.6
2024-12-17T18:41:28.1044013Z     Name     : Intel(R) oneAPI Unified Runtime over Level-Zero
2024-12-17T18:41:28.1044269Z     Vendor   : Intel(R) Corporation
2024-12-17T18:41:28.1044456Z     Devices  : 1
2024-12-17T18:41:28.1044607Z         Device [#0]:
2024-12-17T18:41:28.1044767Z         Type              : gpu
2024-12-17T18:41:28.1044940Z         Version           : 12.0.0
2024-12-17T18:41:28.1045186Z         Name              : Intel(R) Iris(R) Xe Graphics
2024-12-17T18:41:28.1045426Z         Vendor            : Intel(R) Corporation
2024-12-17T18:41:28.1045645Z         Driver            : 1.6.31294.120000
2024-12-17T18:41:28.1045852Z         UUID              : 13412873154100002000000
2024-12-17T18:41:28.1046065Z         DeviceID          : 39497
2024-12-17T18:41:28.1046259Z         Num SubDevices    : 0
2024-12-17T18:41:28.1046447Z         Num SubSubDevices : 0
2024-12-17T18:41:28.1048134Z         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_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 ext_oneapi_virtual_mem ext_oneapi_virtual_functions
2024-12-17T18:41:28.1053821Z         info::device::sub_group_sizes: 8 16 32
2024-12-17T18:41:28.1054038Z         Architecture: intel_gpu_tgllp
2024-12-17T18:41:28.1054212Z Platform [#2]:
2024-12-17T18:41:28.1054345Z     Version  : OpenCL 3.0 
2024-12-17T18:41:28.1054505Z     Name     : Intel(R) OpenCL Graphics
2024-12-17T18:41:28.1054684Z     Vendor   : Intel(R) Corporation
2024-12-17T18:41:28.1054842Z     Devices  : 1
2024-12-17T18:41:28.1054972Z         Device [#0]:
2024-12-17T18:41:28.1055124Z         Type              : gpu
2024-12-17T18:41:28.1055281Z         Version           : OpenCL 3.0 NEO 
2024-12-17T18:41:28.1055618Z         Name              : Intel(R) Iris(R) Xe Graphics
2024-12-17T18:41:28.1055823Z         Vendor            : Intel(R) Corporation
2024-12-17T18:41:28.1056005Z         Driver            : 24.39.31294.12
2024-12-17T18:41:28.1056181Z         UUID              : 13412873154100002000000
2024-12-17T18:41:28.1056358Z         DeviceID          : 39497
2024-12-17T18:41:28.1056516Z         Num SubDevices    : 0
2024-12-17T18:41:28.1056677Z         Num SubSubDevices : 0
2024-12-17T18:41:28.1057920Z         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_slices ext_intel_gpu_subslices_per_slice ext_intel_gpu_eu_count_per_subslice atomic64 ext_intel_device_info_uuid ext_oneapi_srgb ext_intel_gpu_hw_threads_per_eu 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 ext_oneapi_atomic16 ext_oneapi_virtual_functions
2024-12-17T18:41:28.1059181Z         info::device::sub_group_sizes: 8 16 32
2024-12-17T18:41:28.1059366Z         Architecture: intel_gpu_tgllp
2024-12-17T18:41:28.1059534Z Platform [#3]:
2024-12-17T18:41:28.1059669Z     Version  : OpenCL 3.0 LINUX
2024-12-17T18:41:28.1059826Z     Name     : Intel(R) OpenCL
2024-12-17T18:41:28.1059987Z     Vendor   : Intel(R) Corporation
2024-12-17T18:41:28.1060150Z     Devices  : 1
2024-12-17T18:41:28.1060277Z         Device [#1]:
2024-12-17T18:41:28.1060416Z         Type              : cpu
2024-12-17T18:41:28.1060578Z         Version           : OpenCL 3.0 (Build 0)
2024-12-17T18:41:28.1060796Z         Name              : 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
2024-12-17T18:41:28.1061014Z         Vendor            : Intel(R) Corporation
2024-12-17T18:41:28.1061202Z         Driver            : 2024.18.10.0.08_160000
2024-12-17T18:41:28.1061395Z         DeviceID          : 526017
2024-12-17T18:41:28.1223333Z         Num SubDevices    : 0
2024-12-17T18:41:28.1223689Z         Num SubSubDevices : 0
2024-12-17T18:41:28.1225789Z         Aspects           : cpu fp16 fp64 online_compiler online_linker queue_profiling usm_device_allocations usm_host_allocations usm_shared_allocations usm_system_allocations ext_intel_gpu_slices ext_intel_gpu_subslices_per_slice ext_intel_gpu_eu_count_per_subslice usm_atomic_host_allocations usm_atomic_shared_allocations atomic64 ext_oneapi_srgb ext_oneapi_native_assert ext_intel_gpu_hw_threads_per_eu ext_intel_device_id 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 ext_oneapi_virtual_functions
2024-12-17T18:41:28.1227937Z         info::device::sub_group_sizes: 4 8 16 32 64
2024-12-17T18:41:28.1228524Z         Architecture: x86_64
2024-12-17T18:41:28.1228779Z Platform [#4]:
2024-12-17T18:41:28.1229117Z     Version  : OpenCL 1.2 Intel(R) FPGA SDK for OpenCL(TM), Version 20.3
2024-12-17T18:41:28.1229564Z     Name     : Intel(R) FPGA Emulation Platform for OpenCL(TM)
2024-12-17T18:41:28.1229919Z     Vendor   : Intel(R) Corporation
2024-12-17T18:41:28.1230193Z     Devices  : 1
2024-12-17T18:41:28.1230454Z         Device [#2]:
2024-12-17T18:41:28.1230656Z         Type              : fpga
2024-12-17T18:41:28.1230887Z         Version           : OpenCL 1.2 
2024-12-17T18:41:28.1231161Z         Name              : Intel(R) FPGA Emulation Device
2024-12-17T18:41:28.1231450Z         Vendor            : Intel(R) Corporation
2024-12-17T18:41:28.1231718Z         Driver            : 2024.18.10.0.08_160000
2024-12-17T18:41:28.1231963Z         DeviceID          : 526017
2024-12-17T18:41:28.1430637Z         Num SubDevices    : 0
2024-12-17T18:41:28.1431609Z         Num SubSubDevices : 0
2024-12-17T18:41:28.1438972Z         Aspects           : accelerator fp64 online_compiler online_linker queue_profiling usm_device_allocations usm_host_allocations usm_shared_allocations ext_intel_gpu_slices ext_intel_gpu_subslices_per_slice ext_intel_gpu_eu_count_per_subslice usm_atomic_host_allocations usm_atomic_shared_allocations ext_oneapi_srgb ext_intel_gpu_hw_threads_per_eu ext_intel_device_id 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
2024-12-17T18:41:28.1444636Z         info::device::sub_group_sizes: 4 8 16 32 64
2024-12-17T18:41:28.1445443Z         Architecture: unknown
2024-12-17T18:41:28.1446098Z Platform [#5]:
2024-12-17T18:41:28.1446644Z     Version  : 0.1
2024-12-17T18:41:28.1447232Z     Name     : SYCL_NATIVE_CPU
2024-12-17T18:41:28.1447880Z     Vendor   : tbd
2024-12-17T18:41:28.1448411Z     Devices  : 1
2024-12-17T18:41:28.1448959Z         Device [#0]:
2024-12-17T18:41:28.1449547Z         Type              : cpu
2024-12-17T18:41:28.1450436Z         Version           : 0.1
2024-12-17T18:41:28.1451126Z         Name              : SYCL Native CPU
2024-12-17T18:41:28.1451976Z         Vendor            : Intel(R) Corporation
2024-12-17T18:41:28.1452727Z         Driver            : 0.0.0
2024-12-17T18:41:28.1453407Z         DeviceID          : UNKNOWN
2024-12-17T18:41:28.1454043Z         Num SubDevices    : 0
2024-12-17T18:41:28.1454628Z         Num SubSubDevices : 0
2024-12-17T18:41:28.1456750Z         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
2024-12-17T18:41:28.1458904Z         info::device::sub_group_sizes: 1
2024-12-17T18:41:28.1459577Z         Architecture: unknown
2024-12-17T18:41:28.1460792Z default_selector()      : gpu, Intel(R) oneAPI Unified Runtime over Level-Zero, Intel(R) Iris(R) Xe Graphics 12.0.0 [1.6.31294.120000]
2024-12-17T18:41:28.1462823Z accelerator_selector()  : fpga, Intel(R) FPGA Emulation Platform for OpenCL(TM), Intel(R) FPGA Emulation Device OpenCL 1.2  [2024.18.10.0.08_160000]
2024-12-17T18:41:28.1464754Z cpu_selector()          : cpu, Intel(R) OpenCL, 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz OpenCL 3.0 (Build 0) [2024.18.10.0.08_160000]
2024-12-17T18:41:28.1466491Z gpu_selector()          : gpu, Intel(R) oneAPI Unified Runtime over Level-Zero, Intel(R) Iris(R) Xe Graphics 12.0.0 [1.6.31294.120000]
2024-12-17T18:41:28.1468292Z custom_selector(gpu)    : gpu, Intel(R) oneAPI Unified Runtime over Level-Zero, Intel(R) Iris(R) Xe Graphics 12.0.0 [1.6.31294.120000]
2024-12-17T18:41:28.1470115Z custom_selector(cpu)    : cpu, Intel(R) OpenCL, 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz OpenCL 3.0 (Build 0) [2024.18.10.0.08_160000]
2024-12-17T18:41:28.1472031Z custom_selector(acc)    : fpga, Intel(R) FPGA Emulation Platform for OpenCL(TM), Intel(R) FPGA Emulation Device OpenCL 1.2  [2024.18.10.0.08_160000]

Additional context

No response

@lbushi25 lbushi25 added bug Something isn't working confirmed labels Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed
Projects
None yet
Development

No branches or pull requests

1 participant