From 0e34d605e62566c29180a009fb10840e90c5aceb Mon Sep 17 00:00:00 2001 From: Ludovic Raess Date: Fri, 1 Mar 2024 21:11:32 +0100 Subject: [PATCH 1/2] Add comment --- test/test_fields.jl | 1 + test/test_grids.jl | 1 + 2 files changed, 2 insertions(+) diff --git a/test/test_fields.jl b/test/test_fields.jl index eb8ec753..2eb7d3c8 100644 --- a/test/test_fields.jl +++ b/test/test_fields.jl @@ -6,6 +6,7 @@ using Chmy.Grids for backend in backends @testset "$(basename(@__FILE__)) (backend: $backend)" begin + # test setup arch = Arch(backend) grid = UniformGrid(arch; origin=(0.0, 0.0, 0.0), extent=(1.0, 1.0, 1.0), dims=(2, 2, 2)) loc = (Center(), Vertex(), Center()) diff --git a/test/test_grids.jl b/test/test_grids.jl index 5572d1b4..768f951e 100644 --- a/test/test_grids.jl +++ b/test/test_grids.jl @@ -136,6 +136,7 @@ using Chmy.Architectures end @testset "shortcut coords" begin + # short coords @test vertex(grid, Dim(1), 1) == vertex(grid, Dim(1), 1, 1) == coord(grid, Vertex(), Dim(1), 1) @test vertex(grid, Dim(2), 1) == vertex(grid, Dim(2), 1, 1) == coord(grid, Vertex(), Dim(2), 1) @test center(grid, Dim(1), 1) == center(grid, Dim(1), 1, 1) == coord(grid, Center(), Dim(1), 1) From 94701c7d51652879530dbbbcafa44b06b3087086 Mon Sep 17 00:00:00 2001 From: Ludovic Raess Date: Fri, 1 Mar 2024 21:18:51 +0100 Subject: [PATCH 2/2] Add doc --- docs/src/lib/modules.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/src/lib/modules.md b/docs/src/lib/modules.md index 2f6f845e..94c82754 100644 --- a/docs/src/lib/modules.md +++ b/docs/src/lib/modules.md @@ -35,6 +35,13 @@ Modules = [Chmy.BoundaryConditions] Order = [:type, :function] ``` +## Kernel launcher + +```@autodocs +Modules = [Chmy.KernelLaunch] +Order = [:type, :function] +``` + ## Distributed ```@autodocs