mirror of
https://github.com/ml-explore/mlx.git
synced 2025-10-19 00:04:41 +08:00
fix copy dispatch (#2360)
This commit is contained in:
@@ -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";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user