Skip to content

Commit 5c8cfea

Browse files
author
Hugh Delaney
committed
Cmake changes
- Only add subdir if kernel environments enabled. - Add header in CMakeLists - Remove UR_DPCXX test
1 parent e50978b commit 5c8cfea

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

test/conformance/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ add_subdirectory(platform)
109109
add_subdirectory(device)
110110
add_subdirectory(context)
111111
add_subdirectory(memory)
112-
add_subdirectory(memory-migrate)
113112
add_subdirectory(usm)
114113
add_subdirectory(event)
115114
add_subdirectory(queue)
@@ -145,6 +144,7 @@ if(UR_DPCXX)
145144
add_subdirectory(exp_command_buffer)
146145
add_subdirectory(exp_usm_p2p)
147146
add_subdirectory(exp_launch_properties)
147+
add_subdirectory(memory-migrate)
148148
else()
149149
message(WARNING
150150
"UR_DPCXX is not defined, the following conformance test executables \
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
if (UR_DPCXX)
2-
add_conformance_test_with_kernels_environment(memory-migrate
3-
urMemBufferMigrateAcrossDevices.cpp)
4-
endif()
1+
# Copyright (C) 2022-2024 Intel Corporation
2+
# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
3+
# See LICENSE.TXT
4+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5+
6+
add_conformance_test_with_kernels_environment(memory-migrate
7+
urMemBufferMigrateAcrossDevices.cpp)

0 commit comments

Comments
 (0)