-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL] Implement sycl_ext_oneapi_device_architecture on host for Level Zero and OpenCL #9843
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
dm-vodopyanov
merged 17 commits into
intel:sycl
from
dm-vodopyanov:device_arch_on_host_ocl_l0
Jun 30, 2023
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
cbc0f8e
[SYCL] Implement sycl_ext_oneapi_device_architecture for Level Zero a…
dm-vodopyanov 811f8b3
Update unified-runtime tag to support UR_DEVICE_INFO_IP_VERSION
dm-vodopyanov 8353476
Apply CR comments
dm-vodopyanov 1b54cde
Commit missing fixes
dm-vodopyanov 5e52851
Small NFC change
dm-vodopyanov 71ea6be
Remove cpu from unsupported as it is supported now
dm-vodopyanov 79118c5
Update CMakeLists.txt
dm-vodopyanov 5219f59
Merge branch 'intel:sycl' into device_arch_on_host_ocl_l0
dm-vodopyanov 645e6bc
Merge branch 'sycl' into device_arch_on_host_ocl_l0
dm-vodopyanov 01e168f
Add missing ABI symbols and improve E2E test
dm-vodopyanov 03d014f
Debug failure in E2E test
dm-vodopyanov 3b4ef0e
Merge branch 'intel:sycl' into device_arch_on_host_ocl_l0
dm-vodopyanov b5e832e
Merge branch 'intel:sycl' into device_arch_on_host_ocl_l0
dm-vodopyanov 6c11065
Merge branch 'intel:sycl' into device_arch_on_host_ocl_l0
dm-vodopyanov 28da5f6
Merge branch 'intel:sycl' into device_arch_on_host_ocl_l0
dm-vodopyanov c59268b
Revert "Debug failure in E2E test"
dm-vodopyanov 8401262
Mark device_architecture_on_host.cpp as XFAIL on Windows
dm-vodopyanov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
21 changes: 21 additions & 0 deletions
21
sycl/test-e2e/DeviceArchitecture/device_architecture_on_host.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// UNSUPPORTED: cuda, hip, esimd_emulator | ||
|
||
// Enable this test, when GPU driver on Windows CI machines will be updated | ||
// XFAIL: windows | ||
|
||
// RUN: %{build} -o %t.out | ||
// RUN: %{run} %t.out | ||
|
||
#include <sycl/sycl.hpp> | ||
|
||
int main() { | ||
dm-vodopyanov marked this conversation as resolved.
Show resolved
Hide resolved
|
||
sycl::queue q; | ||
sycl::device dev = q.get_device(); | ||
|
||
sycl::ext::oneapi::experimental::architecture arch = dev.get_info< | ||
sycl::ext::oneapi::experimental::info::device::architecture>(); | ||
|
||
assert(dev.ext_oneapi_architecture_is(arch)); | ||
|
||
return 0; | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes in L0 files look good.