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

Conversation

AidanBeltonS
Copy link
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

ggml-sycl.cpp Outdated Show resolved Hide resolved
ggml-sycl.cpp Outdated Show resolved Hide resolved
abhilash1910 and others added 2 commits March 15, 2024 10:27
Co-authored-by: Neo Zhang Jianyu <[email protected]>
Co-authored-by: Neo Zhang Jianyu <[email protected]>
@abhilash1910
Copy link
Collaborator

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

@abhilash1910 abhilash1910 merged commit 753e36f into ggerganov:master Mar 15, 2024
56 of 61 checks passed
hodlen pushed a commit to hodlen/llama.cpp that referenced this pull request Apr 1, 2024
* Fix non-intel device selection

* Update ggml-sycl.cpp

Co-authored-by: Neo Zhang Jianyu <[email protected]>

* Update ggml-sycl.cpp

Co-authored-by: Neo Zhang Jianyu <[email protected]>

---------

Co-authored-by: Abhilash Majumder <[email protected]>
Co-authored-by: Neo Zhang Jianyu <[email protected]>
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 <[email protected]>

* Update ggml-sycl.cpp

Co-authored-by: Neo Zhang Jianyu <[email protected]>

---------

Co-authored-by: Abhilash Majumder <[email protected]>
Co-authored-by: Neo Zhang Jianyu <[email protected]>
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