Chenguang Li
d5fabe3682
CANN: Optimize ggml_cann_set_device ( #15935 )
...
* CANN: Fix ggml_cann_set_device to avoid redundant device switches
- Added a check to skip aclrtSetDevice if the current device is already set.
- Prevents unnecessary context switches while keeping thread/device consistency.
* CANN: add device default id
2025-09-17 14:33:08 +08:00
..
2025-09-09 02:10:07 +08:00
2025-09-17 14:33:08 +08:00
2025-09-16 15:25:57 +02:00
2025-09-16 15:25:57 +02:00
2025-08-13 20:44:30 +02:00
2025-09-16 15:25:57 +02:00
2025-08-20 16:58:49 +02:00
2025-09-16 15:25:57 +02:00
2025-09-09 02:10:07 +08:00
2025-09-16 15:25:57 +02:00
2025-09-16 15:25:57 +02:00
2025-09-09 02:10:07 +08:00
2025-09-14 13:37:03 +08:00
2025-08-15 21:11:22 +08:00
2025-08-05 22:10:36 +03:00
2025-09-11 22:47:38 +02:00
2025-09-11 22:47:38 +02:00
2025-09-09 02:10:07 +08:00
2025-08-05 22:10:36 +03:00
2025-08-05 22:10:36 +03:00
2025-08-14 12:03:57 +02:00
2025-08-18 09:23:56 +02:00
2025-08-05 22:10:36 +03:00
2024-11-14 18:04:35 +01:00
2024-12-12 19:02:49 +01:00
2025-09-16 15:25:57 +02:00
2025-06-01 13:43:57 +03:00
2025-09-05 11:34:28 +02:00