-
Notifications
You must be signed in to change notification settings - Fork 786
[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
[SYCL] Implement sycl_ext_oneapi_device_architecture on host for Level Zero and OpenCL #9843
Conversation
…nd OpenCL This patch introduces new host API for sycl_ext_oneapi_device_architecture extension and implements it, currently only for Level Zero and OpenCL Depends on oneapi-src/unified-runtime#573
sycl/include/sycl/ext/oneapi/experimental/device_architecture.hpp
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/experimental/sycl_ext_oneapi_device_architecture.asciidoc
Outdated
Show resolved
Hide resolved
sycl/doc/extensions/experimental/sycl_ext_oneapi_device_architecture.asciidoc
Outdated
Show resolved
Hide resolved
sycl/include/sycl/ext/oneapi/experimental/device_architecture.hpp
Outdated
Show resolved
Hide resolved
@intel/sycl-language-enabling-triage: FYI |
Currently the compilation fails because of many unrelated to this patch API breaks in Unified Runtime (this patch updates Unified Runtime, because the small change merged to Unified Runtime is needed here), so need to update Unified Runtime in the separate patch and try to fix these API breaks in it. |
…RSION This should have been an obvious update of Unified Runtime sources to support UR_DEVICE_INFO_IP_VERSION, required in intel#9843, but this update brought many API breaks mostly caused by this patch: oneapi-src/unified-runtime#536
sycl/include/sycl/ext/oneapi/experimental/device_architecture.hpp
Outdated
Show resolved
Hide resolved
sycl/test-e2e/DeviceArchitecture/device_architecture_on_host.cpp
Outdated
Show resolved
Hide resolved
@@ -388,6 +388,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo( | |||
uint32_t{1}); | |||
case UR_DEVICE_INFO_GLOBAL_MEM_CACHE_SIZE: | |||
return ReturnValue(uint64_t{Device->ZeDeviceCacheProperties->cacheSize}); | |||
case UR_DEVICE_INFO_IP_VERSION: |
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.
This patch updates Level Zero Loader to version v1.11.0 because the previous version does not support implementation of oneapi-src/level-zero-spec#23 Level Zero extension, required for implementing sycl_ext_oneapi_device_architecture on host Addresses intel#9843 (comment)
This patch updates Level Zero Loader to version v1.11.0 because the previous version does not support implementation of oneapi-src/level-zero-spec#23 Level Zero extension, required for implementing sycl_ext_oneapi_device_architecture on host Addresses #9843 (comment)
The driver on Windows CI machines seems to have been updated, but we still have device IP == 0 in pre-commit. Meanwhile, I will mark the test as XFAIL on Windows, so when we will get proper driver on Windows CI machines, the test started to pass, and we can enable it for Windows. |
All failures are unrelated.
|
@dm-vodopyanov Windows drivers are usually behind in terms of L0 version. We would have to wait for next release. |
…RSION (intel#9873) This should have been an obvious update of Unified Runtime tag to support UR_DEVICE_INFO_IP_VERSION, required in intel#9843 (just tag update, nothing else), but it also brought many API breaks caused by this patch: oneapi-src/unified-runtime#536. So the current PR updates our codebase in accordance with changed UR API. --------- Signed-off-by: Dmitry Vodopyanov <[email protected]> Co-authored-by: Callum Fare <[email protected]> Co-authored-by: Jaime Arteaga <[email protected]>
…l Zero and OpenCL (intel#9843) This patch introduces new host API for sycl_ext_oneapi_device_architecture extension and implements it, currently only for Level Zero and OpenCL Depends on - oneapi-src/unified-runtime#573 - intel#9873 - intel#9979 - intel#10054
…RSION (intel#9873) This should have been an obvious update of Unified Runtime tag to support UR_DEVICE_INFO_IP_VERSION, required in intel#9843 (just tag update, nothing else), but it also brought many API breaks caused by this patch: oneapi-src/unified-runtime#536. So the current PR updates our codebase in accordance with changed UR API. --------- Signed-off-by: Dmitry Vodopyanov <[email protected]> Co-authored-by: Callum Fare <[email protected]> Co-authored-by: Jaime Arteaga <[email protected]>
…RSION (#9873) This should have been an obvious update of Unified Runtime tag to support UR_DEVICE_INFO_IP_VERSION, required in intel/llvm#9843 (just tag update, nothing else), but it also brought many API breaks caused by this patch: oneapi-src#536. So the current PR updates our codebase in accordance with changed UR API. --------- Signed-off-by: Dmitry Vodopyanov <[email protected]> Co-authored-by: Callum Fare <[email protected]> Co-authored-by: Jaime Arteaga <[email protected]>
…RSION (#9873) This should have been an obvious update of Unified Runtime tag to support UR_DEVICE_INFO_IP_VERSION, required in intel/llvm#9843 (just tag update, nothing else), but it also brought many API breaks caused by this patch: #536. So the current PR updates our codebase in accordance with changed UR API. --------- Signed-off-by: Dmitry Vodopyanov <[email protected]> Co-authored-by: Callum Fare <[email protected]> Co-authored-by: Jaime Arteaga <[email protected]>
…RSION (#9873) This should have been an obvious update of Unified Runtime tag to support UR_DEVICE_INFO_IP_VERSION, required in intel/llvm#9843 (just tag update, nothing else), but it also brought many API breaks caused by this patch: oneapi-src#536. So the current PR updates our codebase in accordance with changed UR API. --------- Signed-off-by: Dmitry Vodopyanov <[email protected]> Co-authored-by: Callum Fare <[email protected]> Co-authored-by: Jaime Arteaga <[email protected]>
…RSION (#9873) This should have been an obvious update of Unified Runtime tag to support UR_DEVICE_INFO_IP_VERSION, required in intel/llvm#9843 (just tag update, nothing else), but it also brought many API breaks caused by this patch: oneapi-src#536. So the current PR updates our codebase in accordance with changed UR API. --------- Signed-off-by: Dmitry Vodopyanov <[email protected]> Co-authored-by: Callum Fare <[email protected]> Co-authored-by: Jaime Arteaga <[email protected]>
This patch introduces new host API for
sycl_ext_oneapi_device_architecture extension and implements it, currently only for Level Zero and OpenCL
Depends on