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

Do we allow scalar indexing in all our tests? #3039

Open
simone-silvestri opened this issue Mar 30, 2023 · 4 comments
Open

Do we allow scalar indexing in all our tests? #3039

simone-silvestri opened this issue Mar 30, 2023 · 4 comments
Labels
GPU 👾 Where Oceananigans gets its powers from testing 🧪 Tests get priority in case of emergency evacuation

Comments

@simone-silvestri
Copy link
Collaborator

simone-silvestri commented Mar 30, 2023

CUDA.allowscalar() do

We should remove this

@navidcy
Copy link
Collaborator

navidcy commented Mar 31, 2023

We should remove this and only do that where is absolutely necessary. Ideally nowhere!

@navidcy navidcy added the GPU 👾 Where Oceananigans gets its powers from label Mar 31, 2023
@navidcy
Copy link
Collaborator

navidcy commented Mar 31, 2023

I made an attempt in #2701 to put the allowscalar in the places that the tests required them and remove the general allowscalar statement that @simone-silvestri points out above. But I couldn't finish the attempt... I was getting so many tests failing and I admit I got worn out in the end and stopped that effort......

@navidcy navidcy added the testing 🧪 Tests get priority in case of emergency evacuation label Apr 4, 2024
@navidcy
Copy link
Collaborator

navidcy commented Apr 4, 2024

bumping this up

I'd like to remove the generic CUDA.allowscalar() from tests!

cc @glwagner, @simone-silvestri, @siddharthabishnu

@glwagner
Copy link
Member

glwagner commented Apr 4, 2024

Try it?

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 testing 🧪 Tests get priority in case of emergency evacuation
Projects
None yet
Development

No branches or pull requests

3 participants