Skip to content

Commit

Permalink
Fix configuration macros
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland committed Aug 7, 2024
1 parent bf482b6 commit 54b9bf1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/boost/math/tools/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ BOOST_MATH_GPU_ENABLED constexpr T cuda_safe_max(const T& a, const T& b) { retur
#endif

#define BOOST_MATH_NVRTC_ENABLED
#define BOOST_MATH_CUDA_ENABLED
#define BOOST_MATH_ENABLE_CUDA
#define BOOST_MATH_HAS_GPU_SUPPORT

#define BOOST_MATH_GPU_ENABLED __host__ __device__
Expand Down
2 changes: 1 addition & 1 deletion include/boost/math/tools/tuple.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include <boost/math/tools/config.hpp>

#ifdef BOOST_MATH_CUDA_ENABLED
#ifdef BOOST_MATH_ENABLE_CUDA

#include <thrust/pair.h>
#include <thrust/tuple.h>
Expand Down
2 changes: 1 addition & 1 deletion include/boost/math/tools/type_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
namespace boost {
namespace math {

#ifdef BOOST_MATH_CUDA_ENABLED
#ifdef BOOST_MATH_ENABLE_CUDA

#include <cuda/std/type_traits>

Expand Down

0 comments on commit 54b9bf1

Please sign in to comment.