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

SpecConstants/2020/native_specialization_constant.cpp never runs due to requirements, and fails to compile #17107

Open
ayylol opened this issue Feb 20, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@ayylol
Copy link
Contributor

ayylol commented Feb 20, 2025

Describe the bug

this test has the following requirements // REQUIRES: opencl, level-zero, cpu, gpu, opencl-aot, ocloc, which can never be met due to the simultaneous opencl/level_zero and cpu/gpu requirements. Currently this test fails to build.

llvm-lit --param test-mode=build-only -a SpecConstants/2020/native_specialization_constant.cpp
llvm-lit: /home/llvm/sycl/test-e2e/lit.cfg.py:70: note: build-only test mode enabled, only compiling tests
llvm-lit: /home/llvm/sycl/test-e2e/lit.cfg.py:518: note: Targeted devices:
llvm-lit: /home/llvm/sycl/test-e2e/lit.cfg.py:698: note: Found pre-installed AOT device compiler ocloc
llvm-lit: /home/llvm/sycl/test-e2e/lit.cfg.py:698: note: Found pre-installed AOT device compiler opencl-aot
-- Testing: 1 tests, 1 workers --
FAIL: SYCL :: SpecConstants/2020/native_specialization_constant.cpp (1 of 1)
******************** TEST 'SYCL :: SpecConstants/2020/native_specialization_constant.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 10
/home/build/bin/clang++  -Werror -fsycl -DJIT /home/llvm/sycl/test-e2e/SpecConstants/2020/native_specialization_constant.cpp -o /home/build/tools/sycl/test-e2e/SpecConstants/2020/Output/native_specialization_constant.cpp.tmp.out
# executed command: /home/build/bin/clang++ -Werror -fsycl -DJIT /home/llvm/sycl/test-e2e/SpecConstants/2020/native_specialization_constant.cpp -o /home/build/tools/sycl/test-e2e/SpecConstants/2020/Output/native_specialization_constant.cpp.tmp.out
# .---command stderr------------
# | /home/llvm/sycl/test-e2e/SpecConstants/2020/native_specialization_constant.cpp:32:13: error: no member named 'get_kernel_bundle' in namespace 'sycl'
# |    32 |       sycl::get_kernel_bundle<sycl::bundle_state::input>(Q.get_context());
# |       |       ~~~~~~^
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1

--

********************
********************
Failed Tests (1):
  SYCL :: SpecConstants/2020/native_specialization_constant.cpp


Testing Time: 1.85s

Total Discovered Tests: 1
  Failed: 1 (100.00%)

To reproduce

Environment

  • OS: Linux
  • Target device and vendor: N/A (fails at compilation)
  • DPC++ version: fb2effe
  • Dependencies version: in alldeps container

Additional context

No response

@ayylol ayylol added the bug Something isn't working label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant