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

Define allowscalar #80

Merged
merged 1 commit into from
Jun 6, 2024
Merged

Define allowscalar #80

merged 1 commit into from
Jun 6, 2024

Conversation

charleskawczynski
Copy link
Member

This PR defines an allowscalar method, that provides a device-agnostic way to use CUDA.@allowscalar.

This should help us remove CUDA as a dependency in the ClimaCore test suite.

Copy link
Member

@Sbozzolo Sbozzolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add tests?

ext/ClimaCommsCUDAExt.jl Outdated Show resolved Hide resolved
@charleskawczynski
Copy link
Member Author

Can you please add tests?

Yes, absolutely.

@charleskawczynski charleskawczynski merged commit ae67a34 into main Jun 6, 2024
4 of 5 checks passed
@juliasloan25 juliasloan25 deleted the ck/device_methods branch June 6, 2024 18:35
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

Successfully merging this pull request may close these issues.

2 participants