Skip to content

Commit

Permalink
Merge pull request #1822 from CliMA/ck/unit_thomas
Browse files Browse the repository at this point in the history
Add thomas algorithm unit test to GHA
  • Loading branch information
charleskawczynski authored Jun 17, 2024
2 parents 6d03f1d + d51d6ca commit 4136909
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -657,12 +657,12 @@ steps:
- label: "Unit: Thomas Algorithm"
key: "cpu_thomas_algorithm"
command:
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/thomas_algorithm.jl"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/unit_thomas_algorithm.jl"

- label: "Unit: Thomas Algorithm"
key: "gpu_thomas_algorithm"
command:
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/thomas_algorithm.jl"
- "julia --color=yes --check-bounds=yes --project=.buildkite test/Operators/unit_thomas_algorithm.jl"
env:
CLIMACOMMS_DEVICE: "CUDA"
agents:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#=
julia --project
using Revise; include(joinpath("test", "Operators", "unit_thomas_algorithm.jl"))
=#
using Test
import Random: seed!
import LinearAlgebra: Tridiagonal, norm
Expand Down
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ UnitTest("Hybrid - 2D" ,"Operators/hybrid/unit_2d.jl
UnitTest("Hybrid - 3D" ,"Operators/hybrid/unit_3d.jl"),
UnitTest("Hybrid - dss opt" ,"Operators/hybrid/dss_opt.jl"),
UnitTest("Hybrid - opt" ,"Operators/hybrid/opt.jl"),
UnitTest("Thomas Algorithm" ,"Operators/unit_thomas_algorithm.jl"),
UnitTest("MatrixFields - BandMatrixRow" ,"MatrixFields/band_matrix_row.jl"),
UnitTest("MatrixFields - rmul_with_projection" ,"MatrixFields/rmul_with_projection.jl"),
UnitTest("MatrixFields - field2arrays" ,"MatrixFields/field2arrays.jl"),
Expand Down

0 comments on commit 4136909

Please sign in to comment.