Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SYCL] Fix non-intel device selection #6042

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update ggml-sycl.cpp
Co-authored-by: Neo Zhang Jianyu <jianyu.zhang@intel.com>
  • Loading branch information
abhilash1910 and NeoZhangJianyu authored Mar 15, 2024
commit 3a801e2752bc40bd037ba472da419227c964a6da
2 changes: 1 addition & 1 deletion ggml-sycl.cpp
Original file line number Diff line number Diff line change
@@ -3485,7 +3485,7 @@ class sycl_gpu_mgr {
return -1;
}

bool can_support_multi_gpu(const sycl::device &dev) {
bool is_ext_oneapi_device(const sycl::device &dev) {
sycl::backend dev_backend = dev.get_backend();
if (dev_backend == sycl::backend::ext_oneapi_level_zero ||
dev_backend == sycl::backend::ext_oneapi_cuda ||