fix copy dispatch (#2360)

This commit is contained in:
Awni Hannun
2025-07-11 10:59:35 -07:00
committed by GitHub
parent 8347575ba1
commit 42cc9cfbc7

View File

@@ -86,7 +86,7 @@ void copy_gpu_inplace(
}
} else {
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";
}
}