File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed
unified-runtime/test/adapters/level_zero Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1- # Copyright (C) 2024 Intel Corporation
1+ # Copyright (C) 2024-2025 Intel Corporation
22# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
33# See LICENSE.TXT
44# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
@@ -39,7 +39,7 @@ if(NOT UR_FOUND_DPCXX)
3939 # Tests that require kernels can't be used if we aren't generating
4040 # device binaries
4141 message (WARNING
42- "UR_DPCXX is not defined, skipping some adapter tests for ${adapter} " )
42+ "UR_DPCXX is not defined, skipping kernels' tests for L0 " )
4343else ()
4444 add_conformance_kernels_test(link urProgramLink.cpp)
4545 add_l0_loader_kernels_test(kernel_create urKernelCreateWithNativeHandle.cpp)
Original file line number Diff line number Diff line change 1- # Copyright (C) 2024 Intel Corporation
1+ # Copyright (C) 2024-2025 Intel Corporation
22# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
33# See LICENSE.TXT
44# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
@@ -67,8 +67,15 @@ add_l0_v2_devices_test(memory_residency
6767 ${PROJECT_SOURCE_DIR} /source /adapters/level_zero/ur_level_zero.cpp
6868)
6969
70- add_l0_v2_kernels_test(deferred_kernel
71- deferred_kernel.cpp
72- ${PROJECT_SOURCE_DIR} /source /adapters/level_zero/common.cpp
73- ${PROJECT_SOURCE_DIR} /source /adapters/level_zero/ur_level_zero.cpp
74- )
70+ if (NOT UR_FOUND_DPCXX)
71+ # Tests that require kernels can't be used if we aren't generating
72+ # device binaries
73+ message (WARNING
74+ "UR_DPCXX is not defined, skipping kernels' tests for L0v2" )
75+ else ()
76+ add_l0_v2_kernels_test(deferred_kernel
77+ deferred_kernel.cpp
78+ ${PROJECT_SOURCE_DIR} /source /adapters/level_zero/common.cpp
79+ ${PROJECT_SOURCE_DIR} /source /adapters/level_zero/ur_level_zero.cpp
80+ )
81+ endif ()
You can’t perform that action at this time.
0 commit comments