-
Notifications
You must be signed in to change notification settings - Fork 5
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
tests on GPU - parent usage #739
Conversation
d71c77f
to
1431d30
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I think it closes #748 ? It could be a little clearer to use the same name for PRs and their leaf issues, so it's faster to check where this fits in. :)
@@ -1,6 +1,7 @@ | |||
import Test: @test, @testset, @test_throws | |||
import StaticArrays | |||
import ClimaCore as CC | |||
import ClimaParams |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
without it I get MethodError: no method matching ThermodynamicsParameters(::Type{Float32})
, but I'm not sure why it's coming up in this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh actually, it's because this test is called after other tests that load ClimaParams in runtests.jl. I noticed that we need it here too when I was running each test individually
1431d30
to
888a5c5
Compare
888a5c5
to
a6967f6
Compare
Purpose
closes #748
Content
parent
calls inArray
for comparisonsparent
calls when updating fieldcheckpointer_test.jl
to use consistentcomms_ctx