Skip to content

tests: gtest: add check for khr_get_default_context #3365

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

Merged
merged 2 commits into from
May 30, 2025

Conversation

spalicki
Copy link
Contributor

@spalicki spalicki commented May 29, 2025

Build issues fixes:

  1. ext_oneapi_get_default_context is deprecated in newest Intel Compiler in favor of khr_get_default_context. I have added a check for new implementation based on presence of mandatory SYCL_KHR_DEFAULT_CONTEXT macro.
  2. added defined() guard to MIOPEN_HAS_INT8X4 macro

@spalicki spalicki self-assigned this May 29, 2025
@spalicki spalicki requested a review from a team as a code owner May 29, 2025 17:45
@github-actions github-actions bot added the component:tests Codeowner: @oneapi-src/onednn-arch label May 29, 2025
@spalicki spalicki requested a review from a team as a code owner May 29, 2025 17:56
@github-actions github-actions bot added the platform:gpu-amd Codeowner: @oneapi-src/onednn-gpu-amd label May 29, 2025
@spalicki spalicki force-pushed the spalicki/sycl_default_context_fix branch from 833a84a to 1522124 Compare May 30, 2025 14:32
@spalicki spalicki merged commit 38c8b34 into main May 30, 2025
21 checks passed
@spalicki spalicki deleted the spalicki/sycl_default_context_fix branch May 30, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:tests Codeowner: @oneapi-src/onednn-arch platform:gpu-amd Codeowner: @oneapi-src/onednn-gpu-amd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants