7ddc72ad45
Adds rocprofiler_load_counter_definition. This function allows a counter definition file to be supplied to rocprofiler-sdk directly. Takes in a string containing the counter definition YAML, its size (in bytes), and a flag value to state whether this is an append operation or not. --------- Co-authored-by: Benjamin Welton <ben@amd.com> Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com> Co-authored-by: usrihari123 <srihari.u@amd.com>
52 lines
1.0 KiB
CMake
52 lines
1.0 KiB
CMake
#
|
|
#
|
|
# Installation of public headers
|
|
#
|
|
#
|
|
configure_file(${CMAKE_CURRENT_LIST_DIR}/version.h.in
|
|
${CMAKE_CURRENT_BINARY_DIR}/version.h @ONLY)
|
|
|
|
set(ROCPROFILER_HEADER_FILES
|
|
# core headers
|
|
rocprofiler.h
|
|
# secondary headers
|
|
agent.h
|
|
device_counting_service.h
|
|
buffer.h
|
|
buffer_tracing.h
|
|
callback_tracing.h
|
|
context.h
|
|
counters.h
|
|
defines.h
|
|
dispatch_counting_service.h
|
|
external_correlation.h
|
|
fwd.h
|
|
hip.h
|
|
hsa.h
|
|
intercept_table.h
|
|
internal_threading.h
|
|
marker.h
|
|
ompt.h
|
|
openmp.h
|
|
pc_sampling.h
|
|
profile_config.h
|
|
registration.h
|
|
rccl.h
|
|
spm.h
|
|
${CMAKE_CURRENT_BINARY_DIR}/version.h)
|
|
|
|
install(
|
|
FILES ${ROCPROFILER_HEADER_FILES}
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rocprofiler-sdk
|
|
COMPONENT development)
|
|
|
|
add_subdirectory(hip)
|
|
add_subdirectory(hsa)
|
|
add_subdirectory(marker)
|
|
add_subdirectory(openmp)
|
|
add_subdirectory(rccl)
|
|
add_subdirectory(cxx)
|
|
add_subdirectory(kfd)
|
|
add_subdirectory(amd_detail)
|
|
add_subdirectory(experimental)
|