Skip to content

Commit

Permalink
Bump SYCL compiler min version required (IntelPython#2231)
Browse files Browse the repository at this point in the history
DPC++ compiler released 2025.0.4 version where `__SYCL_COMPILER_VERSION`
is defined to `20241205`. But the fixes from IntelPython#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.
  • Loading branch information
antonwolfy authored Dec 13, 2024
1 parent 7d491e8 commit cf2a106
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dpnp/backend/kernels/dpnp_krnl_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion dpnp/backend/kernels/elementwise_functions/i0.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf2a106

Please sign in to comment.