Skip to content

Commit

Permalink
Fix CUDA only macro for NVRTC
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland committed Sep 16, 2024
1 parent 26a404b commit 20bd10d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/boost/math/tools/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,7 @@ BOOST_MATH_GPU_ENABLED constexpr T gpu_safe_max(const T& a, const T& b) { return
#define BOOST_MATH_HAS_GPU_SUPPORT

#define BOOST_MATH_GPU_ENABLED __host__ __device__
#define BOOST_MATH_CUDA_ENABLED __host__ __device__

#define BOOST_MATH_STATIC static
#define BOOST_MATH_STATIC_LOCAL_VARIABLE
Expand Down

0 comments on commit 20bd10d

Please sign in to comment.