Skip to content

Commit

Permalink
Define HAPI_TRACE with --enable-tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaemin Choi committed Oct 10, 2023
1 parent 4a1a5e8 commit 27bc342
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,9 @@ if(CUDA)
set(CUDA_DIR "${CUDA_TOOLKIT_ROOT_DIR}")
endif()
add_library(cudahybridapi ${hybridAPI-cxx-sources})
if(TRACING)
target_compile_definitions(cudahybridapi PRIVATE HAPI_TRACE)
endif()
endif()

if(EXISTS ${CMAKE_SOURCE_DIR}/src/arch/${VDIR}/conv-mach-pxshm.sh)
Expand Down

0 comments on commit 27bc342

Please sign in to comment.