mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-21 20:46:46 +08:00
spelling: declaration
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
b647328f9e
commit
8cae2e18f4
@ -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();
|
||||||
|
|
||||||
|
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user