Skip to content

sycl/test-e2e/Config/allowlist.cpp fails when running on a system with both gpu/cpu devices #9551

@aelovikov-intel

Description

@aelovikov-intel

See discussion in #9546 (comment)

In https://github.com/intel/llvm/actions/runs/5041506029/jobs/9041755651 which tested 05a631b:

$ "env" "TEST_DEVICE_AVAILABLE=1" "env" "SYCL_CONFIG_FILE_NAME=/__w/llvm/llvm/build-e2e/Config/Output/allowlist.cpp.tmp1.conf" "/__w/llvm/llvm/build-e2e/Config/Output/allowlist.cpp.tmp.out"
# command stderr:
terminate called after throwing an instance of 'std::runtime_error'
  what():  Non host device is not found

error: command failed with exit status: -6

When I tried to address it by modifying RUN lines to use ONEAPI_DEVICE_SELECTOR:\*:cpu I've hit some flaky seg. faults that I wasn't able to reproduce under gdb, so I finally settled with opencl:cpu filter for the test which is the one being committed in #9546.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions