Skip to content

[UR] Add DEVICE_NOT_AVAILABLE UR error code and PI translation for same. #13206

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 1 commit into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions sycl/plugins/unified_runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ if(SYCL_PI_UR_USE_FETCH_CONTENT)
endfunction()

set(UNIFIED_RUNTIME_REPO "https://github.com/oneapi-src/unified-runtime.git")
# commit 0816206d9e863b88feadf9139c9bb829dcc0d2de
# Merge: 0c0f48db 46f69b9f
# commit 3a7d00f136cf5d69e61bf1e235393dfc56f55525
# Merge: cd5ad7b5 9e5c6203
# Author: aarongreig <[email protected]>
# Date: Mon Apr 1 10:22:25 2024 +0100
# Merge pull request #1460 from hdelan/remove-unused-prototypes
# [HIP][CUDA] Remove function prototypes from enqueue.hpp
set(UNIFIED_RUNTIME_TAG 0816206d9e863b88feadf9139c9bb829dcc0d2de)
# Date: Mon Apr 1 15:16:30 2024 +0100
# Merge pull request #1485 from aarongreig/aaron/addDeviceNotAvailableErrC
# Add UR_ERROR_DEVICE_NOT_AVAILABLE and appropriate translation for CL.
set(UNIFIED_RUNTIME_TAG 3a7d00f136cf5d69e61bf1e235393dfc56f55525)

if(SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO)
set(UNIFIED_RUNTIME_REPO "${SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO}")
Expand Down
1 change: 1 addition & 0 deletions sycl/plugins/unified_runtime/pi2ur.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ static pi_result ur2piResult(ur_result_t urResult) {
return PI_ERROR_INVALID_DEVICE;
case UR_RESULT_ERROR_DEVICE_REQUIRES_RESET:
case UR_RESULT_ERROR_DEVICE_LOST:
case UR_RESULT_ERROR_DEVICE_NOT_AVAILABLE:
return PI_ERROR_DEVICE_NOT_AVAILABLE;
case UR_RESULT_ERROR_DEVICE_PARTITION_FAILED:
return PI_ERROR_DEVICE_PARTITION_FAILED;
Expand Down