Revert "[SYCL] fix error when set main gpu to non-zero (#5901)" (#5918)

This reverts commit ceca1aef07.
This commit is contained in:
Neo Zhang Jianyu 2024-03-07 19:14:49 +08:00 committed by GitHub
parent 55a2a900ff
commit 89fb735fcf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 73 additions and 116 deletions

View file

@ -28,7 +28,6 @@ GGML_API GGML_CALL int ggml_backend_sycl_get_device_count();
GGML_API GGML_CALL ggml_backend_buffer_type_t ggml_backend_sycl_split_buffer_type(const float * tensor_split);
GGML_API GGML_CALL void ggml_backend_sycl_get_device_memory(int device, size_t *free, size_t *total);
GGML_API GGML_CALL int ggml_backend_sycl_get_device_index(int device_id);
GGML_API GGML_CALL void ggml_backend_sycl_set_single_device(int main_gpu);
#ifdef __cplusplus
}