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

Move support for CUDA to extension #1667

Closed
Sbozzolo opened this issue Apr 10, 2024 · 0 comments · Fixed by #1687
Closed

Move support for CUDA to extension #1667

Sbozzolo opened this issue Apr 10, 2024 · 0 comments · Fixed by #1687
Assignees
Labels
enhancement New feature or request

Comments

@Sbozzolo
Copy link
Member

It would be nice for ClimaCore not to depend directly on CUDA.

Right now, packages that depend on ClimaCore have to download and instantiate CUDA even if they are not able to use it (e.g., on Github Action runners). The CUDA runtime is not exactly tiny, which adds to the initialization costs.

Moving to an extension would also set a precedent for supporting different backends.

(In many ways, this seems to be precisely the use case extensions were designed for.)

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

Successfully merging a pull request may close this issue.

2 participants