From cf2a106a5056a0fa8b7cd0eb2ed8916933b6f038 Mon Sep 17 00:00:00 2001 From: Anton <100830759+antonwolfy@users.noreply.github.com> Date: Fri, 13 Dec 2024 14:47:21 +0100 Subject: [PATCH] Bump SYCL compiler min version required (#2231) DPC++ compiler released 2025.0.4 version where `__SYCL_COMPILER_VERSION` is defined to `20241205`. But the fixes from #2211 and for `sycl::ext::intel::math::cyl_bessel_i0(x)` support weren't mapped there. Thus the PR proposes to bump `__SYCL_COMPILER_REDUCTION_PROPERTIES_SUPPORT` and `__SYCL_COMPILER_BESSEL_I0_SUPPORT` defines up to `20241210` value to exclude DPC++ compiler 2025.0.4 version. --- dpnp/backend/kernels/dpnp_krnl_common.cpp | 2 +- dpnp/backend/kernels/elementwise_functions/i0.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dpnp/backend/kernels/dpnp_krnl_common.cpp b/dpnp/backend/kernels/dpnp_krnl_common.cpp index 0c25716a236..051189578cf 100644 --- a/dpnp/backend/kernels/dpnp_krnl_common.cpp +++ b/dpnp/backend/kernels/dpnp_krnl_common.cpp @@ -40,7 +40,7 @@ * sycl::ext::oneapi::experimental::properties was added. */ #ifndef __SYCL_COMPILER_REDUCTION_PROPERTIES_SUPPORT -#define __SYCL_COMPILER_REDUCTION_PROPERTIES_SUPPORT 20241129 +#define __SYCL_COMPILER_REDUCTION_PROPERTIES_SUPPORT 20241210L #endif namespace mkl_blas = oneapi::mkl::blas; diff --git a/dpnp/backend/kernels/elementwise_functions/i0.hpp b/dpnp/backend/kernels/elementwise_functions/i0.hpp index ddb81d88cbc..51f6a6df591 100644 --- a/dpnp/backend/kernels/elementwise_functions/i0.hpp +++ b/dpnp/backend/kernels/elementwise_functions/i0.hpp @@ -32,7 +32,7 @@ * sycl::ext::intel::math::cyl_bessel_i0(x) is fully resolved. */ #ifndef __SYCL_COMPILER_BESSEL_I0_SUPPORT -#define __SYCL_COMPILER_BESSEL_I0_SUPPORT 20241114L +#define __SYCL_COMPILER_BESSEL_I0_SUPPORT 20241210L #endif #if __SYCL_COMPILER_VERSION >= __SYCL_COMPILER_BESSEL_I0_SUPPORT