Skip to content

Commit ae37621

Browse files
authored
[SYCL][Cuda] Fix sycl-trace build issue caused by missing includes (#20947)
Add the missing SYCL include directory for cuda_trace_collector, mirroring the Level Zero collector Closes #20946
1 parent 938cb4b commit ae37621

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sycl/tools/sycl-trace/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ if ("cuda" IN_LIST SYCL_ENABLE_BACKENDS)
3232
cuda_trace_collector
3333
)
3434
add_dependencies(sycl-trace cuda_trace_collector)
35+
target_include_directories(cuda_trace_collector PRIVATE
36+
"${sycl_inc_dir}"
37+
)
3538
endif()
3639

3740
add_library(sycl_ur_trace_collector SHARED

0 commit comments

Comments
 (0)