From b698ce39f741a9365fe03d65809923c8ff1ea2e1 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 1 Jan 2024 22:27:41 -0500 Subject: [PATCH] spelling: additional Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/src/dev/extensions.rst | 2 +- examples/extensions/axpby/axpby.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/dev/extensions.rst b/docs/src/dev/extensions.rst index 9aae931a3..35f493fac 100644 --- a/docs/src/dev/extensions.rst +++ b/docs/src/dev/extensions.rst @@ -291,7 +291,7 @@ pointwise. This is captured in the templated function :meth:`axpby_impl`. auto y_offset = elem_to_loc(out_idx, y.shape(), y.strides()); // We allocate the output to be contiguous and regularly strided - // (defaults to row major) and hence it doesn't need additonal mapping + // (defaults to row major) and hence it doesn't need additional mapping out_ptr[out_idx] = alpha * x_ptr[x_offset] + beta * y_ptr[y_offset]; } } diff --git a/examples/extensions/axpby/axpby.cpp b/examples/extensions/axpby/axpby.cpp index 56a09f34e..5b60cb81d 100644 --- a/examples/extensions/axpby/axpby.cpp +++ b/examples/extensions/axpby/axpby.cpp @@ -98,7 +98,7 @@ void axpby_impl( auto y_offset = elem_to_loc(out_idx, y.shape(), y.strides()); // We allocate the output to be contiguous and regularly strided - // (defaults to row major) and hence it doesn't need additonal mapping + // (defaults to row major) and hence it doesn't need additional mapping out_ptr[out_idx] = alpha * x_ptr[x_offset] + beta * y_ptr[y_offset]; } }