KellenSunderland commented on a change in pull request #12328: [MXNET-857] Add
initial NVTX profiler implementation
URL: https://github.com/apache/incubator-mxnet/pull/12328#discussion_r280215664
##########
File path: CMakeLists.txt
##########
@@ -285,6 +285,16 @@ if(USE_CUDA)
message(WARNING "Could not find NCCL libraries")
endif()
endif()
+ if(UNIX)
+ find_package(NVTX)
+ if(NVTX_FOUND)
+ include_directories(${NVTX_INCLUDE_DIRS})
+ list(APPEND mxnet_LINKER_LIBS ${NVTX_LIBRARIES})
+ add_definitions(-DMXNET_USE_NVTX=1)
Review comment:
Can do.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services