472e96a084
- Fixes builds with `OMNITRACE_USE_ROCPROFILER=OFF` but
`OMNITRACE_USE_ROCTRACER=ON`
- Move rocprofiler/hsa_rsrc_factory.{hpp,cpp}` to rocm folder
7 рядки
264 B
CMake
7 рядки
264 B
CMake
#
|
|
if(OMNITRACE_USE_ROCPROFILER OR OMNITRACE_USE_ROCTRACER)
|
|
target_sources(
|
|
omnitrace-object-library PRIVATE ${CMAKE_CURRENT_LIST_DIR}/hsa_rsrc_factory.hpp
|
|
${CMAKE_CURRENT_LIST_DIR}/hsa_rsrc_factory.cpp)
|
|
endif()
|