mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-15 04:51:13 +08:00
fix copy dispatch (#2360)
This commit is contained in:
parent
8347575ba1
commit
42cc9cfbc7
@ -86,7 +86,7 @@ void copy_gpu_inplace(
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
work_per_thread = get_work_per_thread(out.dtype(), out.data_size());
|
work_per_thread = get_work_per_thread(out.dtype(), out.data_size());
|
||||||
if (work_per_thread > 1) {
|
if (!large && work_per_thread > 1) {
|
||||||
kernel_name += "n";
|
kernel_name += "n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user