mirror of
https://github.com/boostorg/math.git
synced 2026-01-19 04:22:09 +00:00
Make SYCL device support opt-in for us too
This commit is contained in:
@@ -702,15 +702,11 @@ namespace boost{ namespace math{
|
||||
# undef BOOST_MATH_FORCEINLINE
|
||||
# define BOOST_MATH_FORCEINLINE __forceinline__
|
||||
|
||||
#elif defined(SYCL_LANGUAGE_VERSION)
|
||||
#elif defined(SYCL_LANGUAGE_VERSION) && defined(BOOST_MATH_ENABLE_SYCL)
|
||||
|
||||
# define BOOST_MATH_SYCL_ENABLED SYCL_EXTERNAL
|
||||
# define BOOST_MATH_HAS_GPU_SUPPORT
|
||||
|
||||
# ifndef BOOST_MATH_ENABLE_SYCL
|
||||
# define BOOST_MATH_ENABLE_SYCL
|
||||
# endif
|
||||
|
||||
# ifndef BOOST_MATH_NO_EXCEPTIONS
|
||||
# define BOOST_MATH_NO_EXCEPTIONS
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user