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

cpu: sycl: bugfix engine creation #1919

Merged
merged 1 commit into from
May 16, 2024
Merged

Conversation

t4c1
Copy link
Contributor

@t4c1 t4c1 commented May 16, 2024

Fixes two bugs that were recently introduced to main and prevent running benchdnn tests on Nvidia and AMD backends. Both bugs cause creation of CPU SYCL engine to fail. They are:

  • The kind of sycl_engine_base_t is hardcoded to engine_kind::gpu making it impossible to create a CPU SYCL engine. This was introduced in commit 6e24838
  • The OpenCL path of are_equal function for devices is not enabled when SYCL is selected for CPU backend, but it should be. This was introduced in commit ae1dbfe

@t4c1 t4c1 requested a review from densamoilov May 16, 2024 08:52
Copy link
Contributor

@densamoilov densamoilov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix!

@densamoilov densamoilov merged commit af4e339 into oneapi-src:main May 16, 2024
10 checks passed
@vpirogov vpirogov added the bug A confirmed library bug label May 21, 2024
@vpirogov vpirogov added this to the v3.6 milestone May 21, 2024
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.

None yet

3 participants