Skip to content

[SYCL] Fix non-intel device selection#6042

Merged
abhilash1910 merged 3 commits intoggml-org:masterfrom
AidanBeltonS:fix_non_intel_device_select
Mar 15, 2024
Merged

[SYCL] Fix non-intel device selection#6042
abhilash1910 merged 3 commits intoggml-org:masterfrom
AidanBeltonS:fix_non_intel_device_select

Conversation

@AidanBeltonS
Copy link
Copy Markdown
Contributor

This PR fixes the SYCL backend for non intel devices.
It replaces the major version query with a backend check for the device. This is more standard and robust SYCL as the version name changes its meaning based on the target vendor.

Solution to: #6026

Comment thread ggml-sycl.cpp Outdated
Comment thread ggml-sycl.cpp Outdated
abhilash1910 and others added 2 commits March 15, 2024 10:27
Co-authored-by: Neo Zhang Jianyu <jianyu.zhang@intel.com>
Co-authored-by: Neo Zhang Jianyu <jianyu.zhang@intel.com>
@abhilash1910
Copy link
Copy Markdown
Contributor

CI failures not related to SYCL, can be merged as this is an important fix.
cc @ggerganov

@abhilash1910 abhilash1910 merged commit 753e36f into ggml-org:master Mar 15, 2024
hodlen pushed a commit to hodlen/llama.cpp that referenced this pull request Apr 3, 2024
* Fix non-intel device selection

* Update ggml-sycl.cpp

Co-authored-by: Neo Zhang Jianyu <jianyu.zhang@intel.com>

* Update ggml-sycl.cpp

Co-authored-by: Neo Zhang Jianyu <jianyu.zhang@intel.com>

---------

Co-authored-by: Abhilash Majumder <30946547+abhilash1910@users.noreply.github.com>
Co-authored-by: Neo Zhang Jianyu <jianyu.zhang@intel.com>
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
* Fix non-intel device selection

* Update ggml-sycl.cpp

Co-authored-by: Neo Zhang Jianyu <jianyu.zhang@intel.com>

* Update ggml-sycl.cpp

Co-authored-by: Neo Zhang Jianyu <jianyu.zhang@intel.com>

---------

Co-authored-by: Abhilash Majumder <30946547+abhilash1910@users.noreply.github.com>
Co-authored-by: Neo Zhang Jianyu <jianyu.zhang@intel.com>
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
* Fix non-intel device selection

* Update ggml-sycl.cpp

Co-authored-by: Neo Zhang Jianyu <jianyu.zhang@intel.com>

* Update ggml-sycl.cpp

Co-authored-by: Neo Zhang Jianyu <jianyu.zhang@intel.com>

---------

Co-authored-by: Abhilash Majumder <30946547+abhilash1910@users.noreply.github.com>
Co-authored-by: Neo Zhang Jianyu <jianyu.zhang@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants