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

cuda 12.5 #506

Open
cekees opened this issue Jul 9, 2024 · 3 comments
Open

cuda 12.5 #506

cekees opened this issue Jul 9, 2024 · 3 comments

Comments

@cekees
Copy link

cekees commented Jul 9, 2024

I saw during configuration that chrono does not support cuda 12.5 yet. Is that a hard constraint, or should I modify the cmakefile and try it?

@rserban
Copy link
Member

rserban commented Jul 10, 2024

Unfortunately, it's not as simple as modifying the CMakeLists file.

There are several issues with using CUDA 12.5 in Chrono:

  • the latest version of Thrust (2.4.0) included with the CUDA 12.5 toolkit does not allow thrust/ headers in host-only TUs when THRUST_DEVICE_SYSTEM=CUDA and only allows thrust/ headers in host-only TUs when THRUST_DEVICE_SYSTEM={CPP, OMP, TBB}.
    This will require a refactoring of the internal multicore collision detection algorithms and of the Chrono::Multicore module, both of which rely on Thrust with the OpenMP backend.
  • the API for cusparse and cublas has changed, with some functionality (e.g. incomplete decomposition preconditioners) completely removed.
    This will require a refactoring of the Chrono::FSI module (and possibly the Chrono::GPU module).

All of the above will have to happen at some point, but I do not have the bandwidth to tackle any of it for quite a while.

@cekees
Copy link
Author

cekees commented Jul 10, 2024

Thanks, @rserban. OK, it likes like I may be able top install CUDA 12.3 alongside CUDA 12.5.

@salhus
Copy link

salhus commented Oct 12, 2024

@cekees If you don't mind answering. Did it work with CUDA 12.3? The documentation suggests that the GPU and FSI module were tested with Pascal architecture with CUDA 11.4.
I have Ada with 12.3, but I am having errors about a mismatch between the static and dynamic library configuration settings. If you know a configuration that works, it will be a massive help.

Cheers,
sal

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

3 participants