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

build_log.cpp failing on gpu #16416

Open
lbushi25 opened this issue Dec 18, 2024 · 0 comments
Open

build_log.cpp failing on gpu #16416

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

Comments

@lbushi25
Copy link
Contributor

lbushi25 commented Dec 18, 2024

Describe the bug

The test SYCL :: Regression/build_log.cpp is failing on gpu. Upon resolution, please remove all XFAIL from the test source.

To reproduce

FAIL: SYCL :: Regression/build_log.cpp (1803 of 2242)
******************** TEST 'SYCL :: Regression/build_log.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/__w/llvm/llvm/toolchain/bin//clang++  -Werror  -fsycl -fsycl-targets=spir64  /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp -o /__w/llvm/llvm/build-e2e/Regression/Output/build_log.cpp.tmp.exe
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -Werror -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp -o /__w/llvm/llvm/build-e2e/Regression/Output/build_log.cpp.tmp.exe
# .---command stderr------------
# | /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp:50:3: error: 'gpu_selector' is deprecated: Use the callable sycl::gpu_selector_v instead. [-Werror,-Wdeprecated-declarations]
# |    50 |   gpu_selector a;
# |       |   ^
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/device_selector.hpp:66:21: note: 'gpu_selector' has been explicitly marked deprecated here
# |    66 | class __SYCL_EXPORT __SYCL2020_DEPRECATED(
# |       |                     ^
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/detail/defines_elementary.hpp:62:40: note: expanded from macro '__SYCL2020_DEPRECATED'
# |    62 | #define __SYCL2020_DEPRECATED(message) __SYCL_DEPRECATED(message)
# |       |                                        ^
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/detail/defines_elementary.hpp:53:38: note: expanded from macro '__SYCL_DEPRECATED'
# |    53 | #define __SYCL_DEPRECATED(message) [[deprecated(message)]]
# |       |                                      ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp:52:9: error: 'queue' is deprecated: SYCL 1.2.1 device selectors are deprecated. Please use SYCL 2020 device selectors instead. [-Werror,-Wdeprecated-declarations]
# |    52 |   queue b(a);
# |       |         ^
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/queue.hpp:221:3: note: 'queue' has been explicitly marked deprecated here
# |   221 |   __SYCL2020_DEPRECATED("SYCL 1.2.1 device selectors are deprecated. Please "
# |       |   ^
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/detail/defines_elementary.hpp:62:40: note: expanded from macro '__SYCL2020_DEPRECATED'
# |    62 | #define __SYCL2020_DEPRECATED(message) __SYCL_DEPRECATED(message)
# |       |                                        ^
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/detail/defines_elementary.hpp:53:38: note: expanded from macro '__SYCL_DEPRECATED'
# |    53 | #define __SYCL_DEPRECATED(message) [[deprecated(message)]]
# |       |                                      ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp:123:9: error: expression result unused [-Werror,-Wunused-value]
# |   123 |         av;
# |       |         ^~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp:124:7: error: expression result unused [-Werror,-Wunused-value]
# |   124 |       aw;
# |       |       ^~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp:127:11: error: expression result unused [-Werror,-Wunused-value]
# |   127 |           ax;
# |       |           ^~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp:128:7: error: expression result unused [-Werror,-Wunused-value]
# |   128 |       ay;
# |       |       ^~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp:129:7: error: expression result unused [-Werror,-Wunused-value]
# |   129 |       az;
# |       |       ^~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp:132:7: error: expression result unused [-Werror,-Wunused-value]
# |   132 |       bc;
# |       |       ^~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp:133:7: error: expression result unused [-Werror,-Wunused-value]
# |   133 |       bd;
# |       |       ^~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp:134:7: error: expression result unused [-Werror,-Wunused-value]
# |   134 |       be;
# |       |       ^~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp:135:7: error: expression result unused [-Werror,-Wunused-value]
# |   135 |       bf;
# |       |       ^~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp:[136](https://github.com/intel/llvm/actions/runs/12379217785/job/34561889166?pr=16398#step:22:137):7: error: expression result unused [-Werror,-Wunused-value]
# |   136 |       bg;
# |       |       ^~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp:[137](https://github.com/intel/llvm/actions/runs/12379217785/job/34561889166?pr=16398#step:22:138):7: error: expression result unused [-Werror,-Wunused-value]
# |   137 |       bh;
# |       |       ^~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp:[138](https://github.com/intel/llvm/actions/runs/12379217785/job/34561889166?pr=16398#step:22:139):7: error: expression result unused [-Werror,-Wunused-value]
# |   138 |       bi;
# |       |       ^~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp:[139](https://github.com/intel/llvm/actions/runs/12379217785/job/34561889166?pr=16398#step:22:140):7: error: expression result unused [-Werror,-Wunused-value]
# |   139 |       bj;
# |       |       ^~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp:[140](https://github.com/intel/llvm/actions/runs/12379217785/job/34561889166?pr=16398#step:22:141):7: error: expression result unused [-Werror,-Wunused-value]
# |   140 |       bk;
# |       |       ^~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp:[141](https://github.com/intel/llvm/actions/runs/12379217785/job/34561889166?pr=16398#step:22:142):7: error: expression result unused [-Werror,-Wunused-value]
# |   141 |       bl;
# |       |       ^~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp:[142](https://github.com/intel/llvm/actions/runs/12379217785/job/34561889166?pr=16398#step:22:143):7: error: expression result unused [-Werror,-Wunused-value]
# |   142 |       bm;
# |       |       ^~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/Regression/build_log.cpp:144:9: error: expression result unused [-Werror,-Wunused-value]
# |   144 |         bn;
# |       |         ^~
# | fatal error: too many errors emitted, stopping now [-ferror-limit=]
# | 20 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

Environment

  • OS: Any
  • Target device and vendor: GPU
  • DPC++ version: da317d0
  • Dependencies version:
2024-12-17T21:51:30.1075190Z �[36;1msycl-ls --verbose�[0m
2024-12-17T21:51:30.1075783Z shell: sh -e {0}
2024-12-17T21:51:30.1076177Z env:
2024-12-17T21:51:30.1076424Z   CMAKE_PREFIX_PATH: /runtimes/oneapi-tbb/env/..
2024-12-17T21:51:30.1076649Z   CPATH: /runtimes/oneapi-tbb/env/../include
2024-12-17T21:51:30.1076986Z   LD_LIBRARY_PATH: /__w/llvm/llvm/toolchain/lib/:/runtimes/oneapi-tbb/env/../lib/intel64/gcc4.8
2024-12-17T21:51:30.1077357Z   LIBRARY_PATH: /runtimes/oneapi-tbb/env/../lib/intel64/gcc4.8
2024-12-17T21:51:30.1077630Z   PKG_CONFIG_PATH: /runtimes/oneapi-tbb/env/../lib/pkgconfig
2024-12-17T21:51:30.1077880Z   TBBROOT: /runtimes/oneapi-tbb/env/..
2024-12-17T21:51:30.1078200Z   PATH: /__w/llvm/llvm/toolchain/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-12-17T21:51:30.1078501Z ##[endgroup]
2024-12-17T21:51:30.1612404Z [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-17T21:51:30.1613084Z [opencl:gpu][opencl:0] Intel(R) OpenCL Graphics, Intel(R) Iris(R) Xe Graphics OpenCL 3.0 NEO  [24.39.31294.12]
2024-12-17T21:51:30.1613732Z [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-17T21:51:30.1614989Z [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-17T21:51:30.1615427Z [native_cpu:cpu][native_cpu:0] SYCL_NATIVE_CPU, SYCL Native CPU 0.1 [0.0.0]
2024-12-17T21:51:30.1615629Z 
2024-12-17T21:51:30.1615688Z Platforms: 5
2024-12-17T21:51:30.1615830Z Platform [#1]:
2024-12-17T21:51:30.1615968Z     Version  : 1.6
2024-12-17T21:51:30.1616159Z     Name     : Intel(R) oneAPI Unified Runtime over Level-Zero
2024-12-17T21:51:30.1616387Z     Vendor   : Intel(R) Corporation
2024-12-17T21:51:30.1616556Z     Devices  : 1
2024-12-17T21:51:30.1616700Z         Device [#0]:
2024-12-17T21:51:30.1616849Z         Type              : gpu
2024-12-17T21:51:30.1617012Z         Version           : 12.0.0
2024-12-17T21:51:30.1617207Z         Name              : Intel(R) Iris(R) Xe Graphics
2024-12-17T21:51:30.1617419Z         Vendor            : Intel(R) Corporation
2024-12-17T21:51:30.1617639Z         Driver            : 1.6.31294.120000
2024-12-17T21:51:30.1617832Z         UUID              : 13412873154100002000000
2024-12-17T21:51:30.1618021Z         DeviceID          : 39497
2024-12-17T21:51:30.1618189Z         Num SubDevices    : 0
2024-12-17T21:51:30.1618358Z         Num SubSubDevices : 0
2024-12-17T21:51:30.1619973Z         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-17T21:51:30.1625013Z         info::device::sub_group_sizes: 8 16 32
2024-12-17T21:51:30.1625235Z         Architecture: intel_gpu_tgllp
2024-12-17T21:51:30.1625412Z Platform [#2]:
2024-12-17T21:51:30.1625555Z     Version  : OpenCL 3.0 
2024-12-17T21:51:30.1625722Z     Name     : Intel(R) OpenCL Graphics
2024-12-17T21:51:30.1625907Z     Vendor   : Intel(R) Corporation
2024-12-17T21:51:30.1626077Z     Devices  : 1
2024-12-17T21:51:30.1626211Z         Device [#0]:
2024-12-17T21:51:30.1626354Z         Type              : gpu
2024-12-17T21:51:30.1626524Z         Version           : OpenCL 3.0 NEO 
2024-12-17T21:51:30.1626875Z         Name              : Intel(R) Iris(R) Xe Graphics
2024-12-17T21:51:30.1627089Z         Vendor            : Intel(R) Corporation
2024-12-17T21:51:30.1627284Z         Driver            : 24.39.31294.12
2024-12-17T21:51:30.1627484Z         UUID              : 13412873154100002000000
2024-12-17T21:51:30.1627673Z         DeviceID          : 39497
2024-12-17T21:51:30.1627857Z         Num SubDevices    : 0
2024-12-17T21:51:30.1628022Z         Num SubSubDevices : 0
2024-12-17T21:51:30.1629335Z         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-17T21:51:30.1630679Z         info::device::sub_group_sizes: 8 16 32
2024-12-17T21:51:30.1630880Z         Architecture: intel_gpu_tgllp
2024-12-17T21:51:30.1631062Z Platform [#3]:
2024-12-17T21:51:30.1631202Z     Version  : OpenCL 3.0 LINUX
2024-12-17T21:51:30.1631373Z     Name     : Intel(R) OpenCL
2024-12-17T21:51:30.1631613Z     Vendor   : Intel(R) Corporation
2024-12-17T21:51:30.1631785Z     Devices  : 1
2024-12-17T21:51:30.1631921Z         Device [#1]:
2024-12-17T21:51:30.1632063Z         Type              : cpu
2024-12-17T21:51:30.1632239Z         Version           : OpenCL 3.0 (Build 0)
2024-12-17T21:51:30.1632476Z         Name              : 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
2024-12-17T21:51:30.1632707Z         Vendor            : Intel(R) Corporation
2024-12-17T21:51:30.1632911Z         Driver            : 2024.18.10.0.08_160000
2024-12-17T21:51:30.1633102Z         DeviceID          : 526017
2024-12-17T21:51:30.1827965Z         Num SubDevices    : 0
2024-12-17T21:51:30.1829863Z         Num SubSubDevices : 0
2024-12-17T21:51:30.1832153Z         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-17T21:51:30.1834682Z         info::device::sub_group_sizes: 4 8 16 32 64
2024-12-17T21:51:30.1835108Z         Architecture: x86_64
2024-12-17T21:51:30.1835412Z Platform [#4]:
2024-12-17T21:51:30.1835723Z     Version  : OpenCL 1.2 Intel(R) FPGA SDK for OpenCL(TM), Version 20.3
2024-12-17T21:51:30.1836134Z     Name     : Intel(R) FPGA Emulation Platform for OpenCL(TM)
2024-12-17T21:51:30.1836452Z     Vendor   : Intel(R) Corporation
2024-12-17T21:51:30.1836702Z     Devices  : 1
2024-12-17T21:51:30.1836901Z         Device [#2]:
2024-12-17T21:51:30.1837116Z         Type              : fpga
2024-12-17T21:51:30.1837360Z         Version           : OpenCL 1.2 
2024-12-17T21:51:30.1837674Z         Name              : Intel(R) FPGA Emulation Device
2024-12-17T21:51:30.1837981Z         Vendor            : Intel(R) Corporation
2024-12-17T21:51:30.1838268Z         Driver            : 2024.18.10.0.08_160000
2024-12-17T21:51:30.1838542Z         DeviceID          : 526017
2024-12-17T21:51:30.2033942Z         Num SubDevices    : 0
2024-12-17T21:51:30.2035033Z         Num SubSubDevices : 0
2024-12-17T21:51:30.2042153Z         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-17T21:51:30.2047622Z         info::device::sub_group_sizes: 4 8 16 32 64
2024-12-17T21:51:30.2048390Z         Architecture: unknown
2024-12-17T21:51:30.2048993Z Platform [#5]:
2024-12-17T21:51:30.2049493Z     Version  : 0.1
2024-12-17T21:51:30.2050034Z     Name     : SYCL_NATIVE_CPU
2024-12-17T21:51:30.2050649Z     Vendor   : tbd
2024-12-17T21:51:30.2051144Z     Devices  : 1
2024-12-17T21:51:30.2051644Z         Device [#0]:
2024-12-17T21:51:30.2052188Z         Type              : cpu
2024-12-17T21:51:30.2052785Z         Version           : 0.1
2024-12-17T21:51:30.2053711Z         Name              : SYCL Native CPU
2024-12-17T21:51:30.2054465Z         Vendor            : Intel(R) Corporation
2024-12-17T21:51:30.2055171Z         Driver            : 0.0.0
2024-12-17T21:51:30.2055803Z         DeviceID          : UNKNOWN
2024-12-17T21:51:30.2056446Z         Num SubDevices    : 0
2024-12-17T21:51:30.2057017Z         Num SubSubDevices : 0
2024-12-17T21:51:30.2058986Z         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-17T21:51:30.2061316Z         info::device::sub_group_sizes: 1
2024-12-17T21:51:30.2061931Z         Architecture: unknown
2024-12-17T21:51:30.2063108Z 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-17T21:51:30.2065064Z 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-17T21:51:30.2066930Z 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-17T21:51:30.2068592Z 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-17T21:51:30.2070341Z 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-17T21:51:30.2072088Z 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-17T21:51:30.2073940Z 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 18, 2024
@lbushi25 lbushi25 changed the title build_log.cpp failing on all platforms build_log.cpp failing on gpu Dec 18, 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