-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make cufinufft compiles with CUDA 12 on Windows #604
Make cufinufft compiles with CUDA 12 on Windows #604
Conversation
This reverts commit 86475ea.
I guess we could get rid of exporting all symbols in cufinufft and make a CUFINUFFT_EXPORT macro. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to know M_1_2PI
was renamed to INV_2PI
.
Should devel/foldrescale_perf.cpp
and devel/foldrescale_perf2.cpp
also change to INV_2PI
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but as they are not included in cmake I did not spot the compilation error.
@@ -16,7 +16,6 @@ | |||
|
|||
// convenient private finufft internals | |||
#include <finufft/finufft_core.h> | |||
#include <finufft/utils.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this test_defs.h
, on windows it has dependency on rand_r
defined in finufft_utils.hpp
. For linux/Mac, rand_r
is included in cstdlib
in this header.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I just moved it into the test folder. As it is only needed in tests.
And a bit of cleanup for small measure.
Closes: #577
Fixes: #589 #441 #578