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

Refactor device management and usage api #2

Merged
merged 6 commits into from
Aug 1, 2024
Merged

Refactor device management and usage api #2

merged 6 commits into from
Aug 1, 2024

Conversation

arthw
Copy link
Owner

@arthw arthw commented Aug 1, 2024

Seperate the sycl devcie related class and function from common to sycl_device.
Merge the device classes to one : ggml_sycl_device_info.
Simple the code to get device id in loop.
Mv dpct/helper.hpp to dpct.hpp
Support single device mode to set main gpu.

@arthw arthw changed the title Refactor dev Refactor device management and usage api Aug 1, 2024
@arthw arthw merged commit c16f01b into master Aug 1, 2024
53 checks passed
arthw pushed a commit that referenced this pull request Nov 15, 2024
* vulkan : do not use tensor->extra

This patch allows using the Vulkan backend with the RPC backend as
tensor->extra is no longer used.

Ref: ggerganov#8536

* Adapt GGML_VULKAN_CHECK_RESULTS to extra removal (#2)

---------

Co-authored-by: 0cc4m <picard12@live.de>
arthw pushed a commit that referenced this pull request Nov 18, 2024
* vulkan : do not use tensor->extra

This patch allows using the Vulkan backend with the RPC backend as
tensor->extra is no longer used.

Ref: ggerganov#8536

* Adapt GGML_VULKAN_CHECK_RESULTS to extra removal (#2)

---------

Co-authored-by: 0cc4m <picard12@live.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant