Skip to content

Commit f83353b

Browse files
Exclude testing of aspect::host with 2023 compiler
1 parent ec3ee3a commit f83353b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libsyclinterface/tests/test_sycl_device_aspects.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
///
2525
//===----------------------------------------------------------------------===//
2626

27+
#include "Config/dpctl_config.h"
2728
#include "dpctl_sycl_device_interface.h"
2829
#include "dpctl_sycl_device_selector_interface.h"
2930
#include "dpctl_sycl_enum_types.h"
@@ -100,7 +101,9 @@ auto build_params()
100101

101102
constexpr auto param_2 =
102103
get_param_list<std::pair<const char *, sycl::aspect>>(
104+
#if __SYCL_COMPILER_VERSION < __SYCL_COMPILER_2023_SWITCHOVER
103105
std::make_pair("host", sycl::aspect::host),
106+
#endif
104107
std::make_pair("cpu", sycl::aspect::cpu),
105108
std::make_pair("gpu", sycl::aspect::gpu),
106109
std::make_pair("accelerator", sycl::aspect::accelerator),

0 commit comments

Comments
 (0)