mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-15 01:19:21 +08:00
Remove Hazard tracking with Fences (#1509)
* remove hazard tracking * with fence map * no hazard tracking with fences * nits * fix fence retain * cleanup * fix quantized rebase
This commit is contained in:
@@ -180,6 +180,7 @@ void array::move_shared_buffer(
|
||||
auto char_offset = sizeof(char) * itemsize() * offset;
|
||||
array_desc_->data_ptr = static_cast<void*>(
|
||||
static_cast<char*>(other.array_desc_->data_ptr) + char_offset);
|
||||
other.array_desc_->data_ptr = nullptr;
|
||||
}
|
||||
|
||||
void array::move_shared_buffer(array other) {
|
||||
|
||||
Reference in New Issue
Block a user