Skip to content

Commit

Permalink
enable cufft linking and explicit conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
alfC committed Feb 24, 2025
1 parent 4c15e3a commit caf08fa
Show file tree
Hide file tree
Showing 4 changed files with 611 additions and 607 deletions.
2 changes: 1 addition & 1 deletion include/boost/multi/adaptors/cufft.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class sign {
public:
sign() = default;
constexpr explicit sign(int impl) : impl_{impl} {}
constexpr explicit operator int() const { return impl_; }
constexpr operator int() const { return impl_; }

constexpr auto operator==(sign const& other) const { return impl_ == other.impl_; }
constexpr auto operator!=(sign const& other) const { return impl_ != other.impl_; }
Expand Down
2 changes: 1 addition & 1 deletion include/boost/multi/adaptors/cufft/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ foreach(TEST_FILE ${TEST_SRCS})
target_link_libraries(${TEST_EXE} PRIVATE ${Boost_LIBRARIES})
target_link_directories(${TEST_EXE} PRIVATE ${Boost_LIBRARY_DIRS})
target_link_libraries(${TEST_EXE} PRIVATE multi)
# target_link_libraries(${TEST_EXE} PRIVATE CUDA::cufft)
target_link_libraries(${TEST_EXE} PRIVATE CUDA::cufft)

if(NOT ENABLE_CUDA)
target_compile_options(
Expand Down
Loading

0 comments on commit caf08fa

Please sign in to comment.