Skip to content

Commit 0cb0e5f

Browse files
committed
[SYCL][UR] Fully remove enabling the validation layer thru the SYCL init
Signed-off-by: Neil R. Spruit <[email protected]>
1 parent 3311870 commit 0cb0e5f

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

sycl/cmake/modules/FetchUnifiedRuntime.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ if(SYCL_UR_USE_FETCH_CONTENT)
141141
)
142142

143143
fetch_adapter_source(opencl
144-
${UNIFIED_RUNTIME_REPO}
145-
${UNIFIED_RUNTIME_TAG}
144+
https://github.com/nrspruit/unified-runtime.git
145+
be9094363c4f8ddd94a41d8b001b7701deffb48b
146146
)
147147

148148
fetch_adapter_source(cuda

sycl/source/detail/ur.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,9 @@ static void initializePlugins(std::vector<PluginPtr> &Plugins,
109109
__SYCL_CHECK_OCL_CODE_NO_EXC(Call)
110110

111111
bool OwnLoaderConfig = false;
112-
// If we weren't provided with a custom config handle create our own and
113-
// enable full validation by default.
112+
// If we weren't provided with a custom config handle create our own.
114113
if(!LoaderConfig) {
115114
CHECK_UR_SUCCESS(urLoaderConfigCreate(&LoaderConfig))
116-
if (std::getenv("UR_LOG_VALIDATION")) {
117-
CHECK_UR_SUCCESS(urLoaderConfigEnableLayer(
118-
LoaderConfig, "UR_LAYER_PARAMETER_VALIDATION"))
119-
}
120115
OwnLoaderConfig = true;
121116
}
122117

sycl/test-e2e/format.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,6 @@ def get_extra_env(sycl_devices):
201201
if "level_zero:gpu" in sycl_devices and litConfig.params.get("ur_l0_debug"):
202202
extra_env.append("UR_L0_DEBUG={}".format(test.config.ur_l0_debug))
203203

204-
extra_env.append('UR_LOG_VALIDATION="level:info;output:stdout;flush:info"')
205-
206204
if "level_zero:gpu" in sycl_devices and litConfig.params.get(
207205
"ur_l0_leaks_debug"
208206
):

0 commit comments

Comments
 (0)