1bb94add11
* Fix HIP compiler iterate args
- `include/rocprofiler-sdk/hip/api_args.h`
- replace struct fields named "f" with "func"
- replace hip stream fields named "hStream" with "stream"
- `lib/rocprofiler-sdk/callback_tracing.cpp`
- iterate_args for HIP compiler table
- `lib/rocprofiler-sdk/registration.cpp`
- fix warning about roctx num_tables
- `lib/rocprofiler-sdk/hip/hip.def.cpp`
- replace struct fields named "f" with "func"
- replace hip stream fields named "hStream" with "stream"
- `lib/rocprofiler-sdk/{hip,hsa,marker}/utils.hpp`
- improve `stringize_impl`
- `lib/rocprofiler-sdk/hsa/code_object.cpp`
- remove stale commented out code
- `lib/rocprofiler-sdk/hsa/queue_controller.*`
- destory_queue -> destroy_queue
- `tests/tools/json-tool.cpp`
- improve parallelism in tool_tracing_callback
- serialize the marker api args
- only invoke rocprofiler_iterate_callback_tracing_kind_operation_args in exit phase
- `samples/counter_collection/CMakeLists.txt`
- reduce timeout on tests to 120 seconds
* Update lib/rocprofiler-sdk/hsa/utils.hpp
- disable dereference of double pointer in stringize_impl
* Update lib/common
- indirection_level in mpl.hpp
- stringize_arg.hpp
* Rework rocprofiler_iterate_callback_tracing_kind_operation_args
- provide more information in rocprofiler_callback_tracing_operation_args_cb_t
- support specifying the dereference level to account for output paramters
49 lines
1.9 KiB
CMake
49 lines
1.9 KiB
CMake
#
|
|
# Builds common utilities into a static library
|
|
#
|
|
rocprofiler_activate_clang_tidy()
|
|
|
|
set(common_sources environment.cpp demangle.cpp logging.cpp static_object.cpp utility.cpp
|
|
xml.cpp)
|
|
set(common_headers
|
|
defines.hpp
|
|
environment.hpp
|
|
demangle.hpp
|
|
logging.hpp
|
|
mpl.hpp
|
|
scope_destructor.hpp
|
|
static_object.hpp
|
|
stringize_arg.hpp
|
|
synchronized.hpp
|
|
utility.hpp
|
|
xml.hpp)
|
|
|
|
add_library(rocprofiler-common-library STATIC)
|
|
add_library(rocprofiler::rocprofiler-common-library ALIAS rocprofiler-common-library)
|
|
|
|
add_subdirectory(container)
|
|
add_subdirectory(memory)
|
|
|
|
target_sources(rocprofiler-common-library PRIVATE ${common_sources} ${common_headers})
|
|
target_include_directories(rocprofiler-common-library
|
|
PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/source>)
|
|
|
|
target_link_libraries(
|
|
rocprofiler-common-library
|
|
PUBLIC $<BUILD_INTERFACE:rocprofiler::rocprofiler-headers>
|
|
$<BUILD_INTERFACE:rocprofiler::rocprofiler-build-flags>
|
|
$<BUILD_INTERFACE:rocprofiler::rocprofiler-threading>
|
|
$<BUILD_INTERFACE:rocprofiler::rocprofiler-memcheck>
|
|
$<BUILD_INTERFACE:rocprofiler::rocprofiler-cxx-filesystem>
|
|
$<BUILD_INTERFACE:rocprofiler::rocprofiler-glog>
|
|
$<BUILD_INTERFACE:rocprofiler::rocprofiler-fmt>
|
|
$<BUILD_INTERFACE:rocprofiler::rocprofiler-dl>
|
|
$<BUILD_INTERFACE:rocprofiler::rocprofiler-hip-nolink>
|
|
$<BUILD_INTERFACE:rocprofiler::rocprofiler-amd-comgr>
|
|
$<BUILD_INTERFACE:rocprofiler::rocprofiler-hsa-runtime-nolink>
|
|
$<BUILD_INTERFACE:rocprofiler::rocprofiler-ptl>
|
|
$<BUILD_INTERFACE:rocprofiler::rocprofiler-hsa-aql>
|
|
$<BUILD_INTERFACE:rocprofiler::rocprofiler-drm>)
|
|
set_target_properties(rocprofiler-common-library PROPERTIES OUTPUT_NAME
|
|
rocprofiler-common)
|