From 04f75f288e931fc36afd3172b7229721a8e423bb Mon Sep 17 00:00:00 2001 From: imreddyTeja Date: Mon, 13 Apr 2026 16:34:35 -0700 Subject: [PATCH 1/2] Fix NEWS.md hyperlink --- NEWS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index dc7fd155f6..6a6a4ec8d3 100644 --- a/NEWS.md +++ b/NEWS.md @@ -8,7 +8,7 @@ v0.14.51 ------- - Add support for nonuniform data structures [2464](https://github.com/CliMA/ClimaCore.jl/pull/2464) -- Add shared memory stencil support in CUDAExt (for spaces with non-periodic topologies and no masks) [2466](https://github.com/CliMA/ClimaCore.jl/pull/2466/commits) +- Add shared memory stencil support in CUDAExt (for spaces with non-periodic topologies and no masks) [2466](https://github.com/CliMA/ClimaCore.jl/pull/2466) v0.14.50 ------- From 961640509e245760dc10651f19c5b336ac4552d0 Mon Sep 17 00:00:00 2001 From: imreddyTeja Date: Mon, 13 Apr 2026 18:13:08 -0700 Subject: [PATCH 2/2] Clarify behavior of invalid bcs --- docs/tutorials/introduction.jl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/tutorials/introduction.jl b/docs/tutorials/introduction.jl index 9ca12b4cdc..70dfdaa6b3 100644 --- a/docs/tutorials/introduction.jl +++ b/docs/tutorials/introduction.jl @@ -275,10 +275,13 @@ plot(map(x -> x.w, ClimaCore.Geometry.WVector.(∇cosz)), ylim = (0, 10)) sinz = sin.(column_center_coords.z) gradc2f = ClimaCore.Operators.GradientC2F() -## ∇sinz = gradc2f.(sinz) ## this would throw an error +# this throws an error when julia is launched with --check-bounds=yes +# if ran with nomrally (auto bounds checking), behavior at the boundary is undefined +# (i.e. it will read some random memory outside the array) +# ∇sinz = gradc2f.(sinz) ## undefined behavior at boundary #---------------------------------------------------------------------------- -# This throws an error because face values at the boundary are _not_ well-defined: +# This throws an error when bounds checking is enabled because face values at the boundary are _not_ well-defined: # # ``` # ...