mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-21 20:46:46 +08:00
spelling: buffer
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
16046082f6
commit
edc830dcd3
@ -102,7 +102,7 @@ void Gather::eval_gpu(const std::vector<array>& inputs, array& out) {
|
|||||||
static_cast<size_t*>(idx_strides_buf.raw_ptr()) + i * idx_ndim);
|
static_cast<size_t*>(idx_strides_buf.raw_ptr()) + i * idx_ndim);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Allocate the argument bufer
|
// Allocate the argument buffer
|
||||||
auto arg_buf = allocator::malloc_or_wait(arg_enc->encodedLength());
|
auto arg_buf = allocator::malloc_or_wait(arg_enc->encodedLength());
|
||||||
|
|
||||||
// Register data with the encoder
|
// Register data with the encoder
|
||||||
@ -246,7 +246,7 @@ void Scatter::eval_gpu(const std::vector<array>& inputs, array& out) {
|
|||||||
static_cast<size_t*>(idx_strides_buf.raw_ptr()) + i * idx_ndim);
|
static_cast<size_t*>(idx_strides_buf.raw_ptr()) + i * idx_ndim);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Allocate the argument bufer
|
// Allocate the argument buffer
|
||||||
auto arg_buf = allocator::malloc_or_wait(arg_enc->encodedLength());
|
auto arg_buf = allocator::malloc_or_wait(arg_enc->encodedLength());
|
||||||
|
|
||||||
// Register data with the encoder
|
// Register data with the encoder
|
||||||
|
Loading…
Reference in New Issue
Block a user