Skip to content

Commit b26e868

Browse files
Incremented __SYCL_COMPILER_2023_SWITRCHOVER macro
Intel(R) oneAPI DPC++ 2022.2.1 was released with __SYCL_COMPILER_VERSION variable at 20221020L. Adjustment of the SWiTCHOVER variables allows for `dpctl` to compile with that compiler.
1 parent a94b7c7 commit b26e868

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

libsyclinterface/include/Config/dpctl_config.h.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@
3030
@DPCTL_ENABLE_L0_PROGRAM_CREATION@
3131

3232
/* Version of SYCL DPC++ 2023 compiler at which transition to SYCL 2020 occurs */
33-
#define __SYCL_COMPILER_2023_SWITCHOVER 20221020L
33+
/* Intel(R) oneAPI DPC++ 2022.2.1 compiler has version 20221020L */
34+
#define __SYCL_COMPILER_2023_SWITCHOVER 20221021L
3435

3536
/* Version of SYCL DPC++ compiler at which info::max_work_item_size was
3637
made templated */
37-
#define __SYCL_COMPILER_MAX_WORK_ITEM_SIZE_THRESHOLD 20220805L
38+
#define __SYCL_COMPILER_MAX_WORK_ITEM_SIZE_THRESHOLD __SYCL_COMPILER_2023_SWITCHOVER
3839

3940
/* The DPCPP version used to build dpctl */
4041
#define DPCTL_DPCPP_VERSION "@IntelSycl_VERSION@"

0 commit comments

Comments
 (0)