Skip to content

Commit 68700b5

Browse files
committed
Fix ubench for CUDA provider
1 parent ace9f4a commit 68700b5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

benchmark/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023-2024 Intel Corporation
1+
# Copyright (C) 2023-2025 Intel Corporation
22
# Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
33
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
44

@@ -109,6 +109,9 @@ function(add_umf_benchmark)
109109
if(UMF_BUILD_CUDA_PROVIDER)
110110
target_compile_definitions(${BENCH_NAME}
111111
PRIVATE UMF_BUILD_CUDA_PROVIDER=1)
112+
target_include_directories(
113+
${BENCH_NAME} PRIVATE ${UMF_CMAKE_SOURCE_DIR}/test/common
114+
${CUDA_INCLUDE_DIRS})
112115
endif()
113116
if(UMF_BUILD_GPU_TESTS)
114117
target_compile_definitions(${BENCH_NAME} PRIVATE UMF_BUILD_GPU_TESTS=1)

0 commit comments

Comments
 (0)