Skip to content

Commit 23cef18

Browse files
Fixes
1 parent c866b9f commit 23cef18

7 files changed

Lines changed: 43 additions & 34 deletions

File tree

.buildkite/Manifest.toml

Lines changed: 11 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ version = "0.14.31"
77
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
88
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
99
BlockArrays = "8e7c35d0-a365-5155-bbbb-fb81a777f24e"
10+
ClimaCartesianIndices = "afc79dc6-9922-4b50-ae92-da7b5116c2c8"
1011
ClimaComms = "3a4d1b5c-c61d-41fd-a00a-5873ba7a1b0d"
1112
CubedSphere = "7445602f-e544-4518-8976-18f8e8ae6cdb"
1213
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
@@ -30,7 +31,6 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
3031
UnrolledUtilities = "0fe1646c-419e-43be-ac14-22321958931b"
3132

3233
[weakdeps]
33-
ClimaCartesianIndices = "afc79dc6-9922-4b50-ae92-da7b5116c2c8"
3434
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
3535
Krylov = "ba0b0d4f-ebba-5204-a429-3ac8c609bfb7"
3636

@@ -46,8 +46,8 @@ AssociatedLegendrePolynomials = "1"
4646
BandedMatrices = "1"
4747
BenchmarkTools = "1"
4848
BlockArrays = "1"
49-
ClimaCartesianIndices = "0.1.3"
5049
CUDA = "5.5"
50+
ClimaCartesianIndices = "0.1.3"
5151
ClimaComms = "0.6.2"
5252
CountFlops = "0.1"
5353
CubedSphere = "0.2, 0.3"

benchmarks/bickleyjet/Manifest.toml

Lines changed: 8 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/ClimaCoreMakie/examples/Manifest.toml

Lines changed: 12 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/MatrixFields/matrix_field_test_utils.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ macro test_all(expression)
2828
local test_func() = $(esc(expression))
2929
@test test_func() # correctness
3030
@test (@allocated test_func()) == 0 # allocations
31-
@test_opt stacktrace_types_limit=4 test_func() # type instabilities
31+
@test_opt test_func() # type instabilities
3232
end
3333
end
3434

@@ -117,14 +117,14 @@ function test_field_broadcast(;
117117
# Test get_result and set_result! for type instabilities, and test
118118
# set_result! for allocations. Ignore the type instabilities in CUDA and
119119
# the allocations they incur.
120-
@test_opt stacktrace_types_limit=4 ignored_modules = cuda_frames materialize(get_result)
121-
@test_opt stacktrace_types_limit=4 ignored_modules = cuda_frames materialize!(result, set_result)
120+
@test_opt ignored_modules = cuda_frames materialize(get_result)
121+
@test_opt ignored_modules = cuda_frames materialize!(result, set_result)
122122
using_cuda || @test (@allocated materialize!(result, set_result)) == 0
123123

124124
if !isnothing(ref_set_result)
125125
# Test ref_set_result! for type instabilities and allocations to
126126
# ensure that the performance comparison is fair.
127-
@test_opt stacktrace_types_limit=4 ignored_modules = cuda_frames materialize!(
127+
@test_opt ignored_modules = cuda_frames materialize!(
128128
ref_result,
129129
ref_set_result,
130130
)

test/Operators/integrals.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function test_column_integral_definite!(center_space)
4848
@test max_relative_error <= 0.006 # Less than 0.6% error.
4949

5050
cuda = (AnyFrameModule(CUDA),)
51-
@test_opt stacktrace_types_limit=4 ignored_modules = cuda column_integral_definite!(∫u_test, ᶜu)
51+
@test_opt ignored_modules = cuda column_integral_definite!(∫u_test, ᶜu)
5252

5353
test_allocs(@allocated column_integral_definite!(∫u_test, ᶜu))
5454
end
@@ -70,7 +70,7 @@ function test_column_integral_indefinite!(center_space)
7070
@test max_relative_error <= 0.006 # Less than 0.6% error at the top level.
7171

7272
cuda = (AnyFrameModule(CUDA),)
73-
@test_opt stacktrace_types_limit=4 ignored_modules = cuda column_integral_indefinite!(ᶠ∫u_test, ᶜu)
73+
@test_opt ignored_modules = cuda column_integral_indefinite!(ᶠ∫u_test, ᶜu)
7474

7575
test_allocs(@allocated column_integral_indefinite!(ᶠ∫u_test, ᶜu))
7676
end
@@ -93,7 +93,7 @@ function test_column_integral_indefinite_fn!(center_space)
9393
@test max_relative_error <= 0.006 # Less than 0.6% error at the top level.
9494

9595
cuda = (AnyFrameModule(CUDA),)
96-
@test_opt stacktrace_types_limit=4 ignored_modules = cuda column_integral_indefinite!(
96+
@test_opt ignored_modules = cuda column_integral_indefinite!(
9797
fn,
9898
ᶠ∫u_test,
9999
)
@@ -132,7 +132,7 @@ function test_column_reduce_and_accumulate!(center_space)
132132
set_output! = () -> column_reduce!(f, output, input; init, transform)
133133
set_output!()
134134
@test output == reference_output
135-
@test_opt stacktrace_types_limit=4 ignored_modules = (AnyFrameModule(CUDA),) set_output!()
135+
@test_opt ignored_modules = (AnyFrameModule(CUDA),) set_output!()
136136
test_allocs(@allocated set_output!())
137137
end
138138

@@ -148,7 +148,7 @@ function test_column_reduce_and_accumulate!(center_space)
148148
() -> column_accumulate!(f, output, input; init, transform)
149149
set_output!()
150150
@test output == reference_output
151-
@test_opt stacktrace_types_limit=4 ignored_modules = (AnyFrameModule(CUDA),) set_output!()
151+
@test_opt ignored_modules = (AnyFrameModule(CUDA),) set_output!()
152152
test_allocs(@allocated set_output!())
153153
end
154154
end

test/aqua.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ end
3131

3232
@testset "Aqua tests (additional)" begin
3333
Aqua.test_undefined_exports(ClimaCore)
34-
Aqua.test_stale_deps(ClimaCore)
34+
Aqua.test_stale_deps(ClimaCore; ignore = [:ClimaCartesianIndices])
3535
Aqua.test_deps_compat(ClimaCore)
3636
Aqua.test_project_extras(ClimaCore)
3737
# Aqua.test_project_toml_formatting(ClimaCore) # failing

0 commit comments

Comments
 (0)