* Update HIP ABI tracing

* Minor HIP abi.cpp updates

* Misc roctx updates (version.h + more)

* Common static thread-local template struct

- static_tl_object
- similar to static_object but with thread-local semantics

* rocprofiler-sdk/version.h updates

* Update for HIP_RUNTIME_API_TABLE_STEP_VERSION == {4,5,6}

* Fix roctx.cpp tweaks
Цей коміт міститься в:
Jonathan R. Madsen
2024-09-13 17:10:35 -05:00
зафіксовано GitHub
джерело bc82eccf4f
коміт 7861dcc6c6
12 змінених файлів з 728 додано та 512 видалено
+4 -4
Переглянути файл
@@ -39,10 +39,10 @@
*/
/**
* @brief The function was introduced in version 10.0 of the interface and has the
* symbol version string of ``"ROCTX_10.0"``.
* @brief The function was introduced in version 0.0 of the interface and has the
* symbol version string of ``"ROCPROFILER_SDK_ROCTX_0.0"``.
*/
#define ROCTX_VERSION_10_0
#define ROCPROFILER_SDK_ROCTX_VERSION_0_0
/** @} */
@@ -86,7 +86,7 @@
#define ROCTX_IMPORT ROCTX_IMPORT_DECORATOR
#if !defined(ROCTX_API)
# if defined(rocprofiler_EXPORTS)
# if defined(roctx_EXPORTS)
# define ROCTX_API ROCTX_EXPORT
# else
# define ROCTX_API ROCTX_IMPORT
+6
Переглянути файл
@@ -23,6 +23,10 @@
#pragma once
/**
* @def ROCTX_IS_ROCPROFILER_SDK
* @brief Preprocessor define indicating the roctx header is a rocprofiler-sdk project
* @addtogroup VERSIONING_GROUP
*
* @def ROCTX_VERSION_MAJOR
* @brief The major version of the interface as a macro so it can be used
* by the preprocessor.
@@ -84,6 +88,8 @@
* @addtogroup VERSIONING_GROUP
*/
#define ROCTX_IS_ROCPROFILER_SDK 1
// clang-format off
#define ROCTX_VERSION_MAJOR @PROJECT_VERSION_MAJOR@
#define ROCTX_VERSION_MINOR @PROJECT_VERSION_MINOR@