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

Need to remove CUDA.allowscalar(true) because it's been deprecated #1901

Closed
navidcy opened this issue Jul 26, 2021 · 1 comment
Closed

Need to remove CUDA.allowscalar(true) because it's been deprecated #1901

navidcy opened this issue Jul 26, 2021 · 1 comment
Labels
GPU 👾 Where Oceananigans gets its powers from

Comments

@navidcy
Copy link
Collaborator

navidcy commented Jul 26, 2021

At the moment code works fine, but CUDA.jl is warning us:

WARN  allowscalar([true]) is deprecated, use `allowscalar() do end` or `@allowscalar` to denote
exactly which operations can use scalar operations.

Perhaps at some future version this will stop working.

@navidcy navidcy added the GPU 👾 Where Oceananigans gets its powers from label Jul 26, 2021
@glwagner
Copy link
Member

Done...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GPU 👾 Where Oceananigans gets its powers from
Projects
None yet
Development

No branches or pull requests

2 participants