sycl : support dev2dev memcpy by DEV2DEV_MEMCPY_FORWARD (#26234)

Co-authored-by: Neo Zhang Jianyu <jianyu.zhang@intel.com>
This commit is contained in:
Neo Zhang
2026-07-31 09:20:28 +03:00
committed by GitHub
co-authored by Neo Zhang Jianyu
parent a2be61dc87
commit 1c5b89ff63
3 changed files with 9 additions and 2 deletions
+1
View File
@@ -133,6 +133,7 @@ enum ggml_sycl_backend_gpu_mode {
enum ggml_sycl_dev2dev_memcpy_mode {
DEV2DEV_MEMCPY_SYCL = 0,
DEV2DEV_MEMCPY_L0 = 1,
DEV2DEV_MEMCPY_FORWARD = 2
};
static_assert(sizeof(sycl::half) == sizeof(ggml_fp16_t), "wrong fp16 size");