Skip to content
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

Build failures with newer CUDA Toolchain #2

Open
pauleonix opened this issue Dec 11, 2024 · 1 comment
Open

Build failures with newer CUDA Toolchain #2

pauleonix opened this issue Dec 11, 2024 · 1 comment

Comments

@pauleonix
Copy link

To get this project to successfully build using CUDA 12.6 one has to uncomment

//#include <thrust/extrema.h>

and get rid of the unneeded
using namespace thrust;

in the test files.

Then the compiler still warns about

if (nf < MAX_NF) // otherwise will fail anyway

because of
#define MAX_NF (int)1e11 // too big to ever succeed (next235 takes 1s)

"floating-point value does not fit in required integral type". So it should probably be replaced with INT_MAX?

@HLSUD
Copy link
Member

HLSUD commented Dec 12, 2024

Really appreciate your comments. Just made a new commit to support cuda 12 except the warnings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants