forked from intel/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[UR][Spec Constants] Improved handling of invalid/unsupported spec. c…
…onstants Pre-commit MR for oneapi-src/unified-runtime#1469
- Loading branch information
1 parent
b9eb520
commit 8826771
Showing
1 changed file
with
18 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -116,14 +116,24 @@ if(SYCL_UR_USE_FETCH_CONTENT) | |
CACHE PATH "Path to external '${name}' adapter source dir" FORCE) | ||
endfunction() | ||
|
||
set(UNIFIED_RUNTIME_REPO "https://github.com/oneapi-src/unified-runtime.git") | ||
# commit 22962057df1b9d538e08088a7b75d9d8e7c29f90 (HEAD, origin/main, origin/HEAD) | ||
# Merge: e824ddc2 f0a1c433 | ||
# Author: aarongreig <[email protected]> | ||
# Date: Fri Sep 27 16:54:04 2024 +0100 | ||
# Merge pull request #2017 from nrspruit/new_sysman_init | ||
# [L0] Use zesInit for SysMan API usage | ||
set(UNIFIED_RUNTIME_TAG 22962057df1b9d538e08088a7b75d9d8e7c29f90) | ||
set(UNIFIED_RUNTIME_REPO "https://github.com/RossBrunton/unified-runtime.git") | ||
# commit f42a221861fc8e33b301fcc27df0cf048ec3a00c | ||
# Author: Ross Brunton <[email protected]> | ||
# Date: Fri Mar 22 17:18:22 2024 +0000 | ||
# [Spec Constants] Improved handling of invalid/unsupported spec. constants | ||
# | ||
# Two main changes to how `Kernel/ProgramSetSpecializationConstants` | ||
# are handled: | ||
# * They may now output either `INVALID_VALUE` or the new | ||
# `INVALID_SPEC_ID` when the provided list is invalid. | ||
# * The OpenCL and level 0 adapters now respond to | ||
# `UR_DEVICE_INFO_KERNEL_SET_SPECIALIZATION_CONSTANTS` with `false` | ||
# rather than erroring out. This fixes some tests that were | ||
# incorrectly not being skipped. | ||
# * `urKernelSetSpecializationConstants` now "implemented" (as a | ||
# function that returns `UNSUPPORTED_FEATURE` for a number of | ||
# adapters. | ||
set(UNIFIED_RUNTIME_TAG f42a221861fc8e33b301fcc27df0cf048ec3a00c) | ||
|
||
set(UMF_BUILD_EXAMPLES OFF CACHE INTERNAL "EXAMPLES") | ||
# Due to the use of dependentloadflag and no installer for UMF and hwloc we need | ||
|