Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL][CUDA][HIP] Fix device_num.cpp test #1081

Merged
merged 2 commits into from
Aug 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions SYCL/Regression/device_num.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
// RUN: env SYCL_DEVICE_FILTER=2 env TEST_DEV_CONFIG_FILE_NAME=%t1.conf %t.out
// RUN: env SYCL_DEVICE_FILTER=3 env TEST_DEV_CONFIG_FILE_NAME=%t1.conf %t.out

// The test is using all available BEs but CUDA machine in CI does not have
// functional OpenCL RT
// UNSUPPORTED: cuda || hip
// Temporarily disable on L0 due to fails in CI
// UNSUPPORTED: level_zero

Expand All @@ -28,7 +25,9 @@ const std::map<backend, std::string> BackendStringMap = {
{backend::opencl, "opencl"},
{backend::host, "host"},
{backend::ext_oneapi_level_zero, "ext_oneapi_level_zero"},
{backend::ext_intel_esimd_emulator, "ext_intel_esimd_emulator"}};
{backend::ext_intel_esimd_emulator, "ext_intel_esimd_emulator"},
{backend::ext_oneapi_cuda, "ext_oneapi_cuda"},
{backend::ext_oneapi_hip, "ext_oneapi_hip"}};

std::string getDeviceTypeName(const device &d) {
auto DeviceType = d.get_info<info::device::device_type>();
Expand Down