Skip to content

[CI][E2E] CPU AOT tests fail to build on windows CI machines due to having no listed CPU devices #17515

@ayylol

Description

@ayylol

Describe the bug

The following tests are failing due to not having a listed cpu device on windows build ci machine:

SYCL :: AOT/cpu.cpp
SYCL :: NewOffloadDriver/cpu.cpp
SYCL :: SpecConstants/2020/non_native/multiple-targets.cpp
SYCL :: OptionalKernelFeatures/is_compatible/is_compatible_spir64_x86_64.cpp
SYCL :: AOT/multiple-devices.cpp
SYCL :: AOT/reqd-sg-size.cpp
SYCL :: ProgramManager/uneven_kernel_split.cpp

With errors like the following:

********************
FAIL: SYCL :: AOT/cpu.cpp (104 of 2303)
******************** TEST 'SYCL :: AOT/cpu.cpp' FAILED ********************
Exit Code: 2147482647

Command Output (stdout):
--
# RUN: at line 16
D:/github/actions-runner/_work/llvm/llvm/install/bin/clang++.exe  -Werror -fsycl -fsycl-targets=spir64_x86_64  D:\github\actions-runner\_work\llvm\llvm\llvm\sycl\test-e2e\AOT/Inputs/aot.cpp -Xsycl-target-backend "--bo=-g" -Xsycl-target-backend "--bo=-cl-opt-disable" -o D:\github\actions-runner\_work\llvm\llvm\build-e2e\AOT\Output\cpu.cpp.tmp2.out
# executed command: D:/github/actions-runner/_work/llvm/llvm/install/bin/clang++.exe -Werror -fsycl -fsycl-targets=spir64_x86_64 'D:\github\actions-runner\_work\llvm\llvm\llvm\sycl\test-e2e\AOT/Inputs/aot.cpp' -Xsycl-target-backend --bo=-g -Xsycl-target-backend --bo=-cl-opt-disable -o 'D:\github\actions-runner\_work\llvm\llvm\build-e2e\AOT\Output\cpu.cpp.tmp2.out'
# .---command stderr------------
# | Failed to retrieve OpenCL platform count: -1001 (Unknown error code)
# | llvm-foreach: 
# | clang++: error: x86_64 compiler command failed with exit code 2147482647 (use -v to see invocation)
# `-----------------------------
# error: command failed with exit status: 0x7ffffc17

https://github.com/intel/llvm/actions/runs/13929259216/job/38985533716?pr=17335
https://github.com/intel/llvm/actions/runs/13950218284/job/39050385825?pr=17335

To reproduce

  1. Include a code snippet that is as short as possible
  2. Specify the command which should be used to compile the program
  3. Specify the command which should be used to launch the program
  4. Indicate what is wrong and what was expected

Environment

  • OS: [e.g Windows/Linux]
  • Target device and vendor: [e.g. Intel GPU]
  • DPC++ version: [e.g. commit hash or output of clang++ --version]
  • Dependencies version: [e.g. the output of sycl-ls --verbose]

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions