spelling: declaration

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2024-01-01 22:30:49 -05:00
parent b647328f9e
commit 8cae2e18f4
2 changed files with 2 additions and 2 deletions

View File

@ -537,7 +537,7 @@ below.
compute_encoder->setComputePipelineState(kernel); compute_encoder->setComputePipelineState(kernel);
// Kernel parameters are registered with buffer indices corresponding to // Kernel parameters are registered with buffer indices corresponding to
// those in the kernel decelaration at axpby.metal // those in the kernel declaration at axpby.metal
int ndim = out.ndim(); int ndim = out.ndim();
size_t nelem = out.size(); size_t nelem = out.size();

View File

@ -254,7 +254,7 @@ void Axpby::eval_gpu(const std::vector<array>& inputs, array& out) {
compute_encoder->setComputePipelineState(kernel); compute_encoder->setComputePipelineState(kernel);
// Kernel parameters are registered with buffer indices corresponding to // Kernel parameters are registered with buffer indices corresponding to
// those in the kernel decelaration at axpby.metal // those in the kernel declaration at axpby.metal
int ndim = out.ndim(); int ndim = out.ndim();
size_t nelem = out.size(); size_t nelem = out.size();