llama.cpp
f3d7725a - sycl : use cached device-id in set_main_device (#32013)

Commit
23 days ago
sycl : use cached device-id in set_main_device (#32013) ggml_sycl_set_main_device() runs at the start of every graph compute. Its early-return check called dpct::get_current_device_id(), which locks the device manager mutex and looks up the thread-to-device map. Use the thread-local cached id that the rest of the backend already uses. Assisted-by: Claude Code Co-authored-by: zhaoyshine <zhaoyshine@users.noreply.github.com>
Author
Parents
Loading