Use small_vector for API iterate_args (#597)

* Use small_vector for API iterate_args

- replace dim3 value arguments with rocprofiler_dim3_t
  - dim3 has a non-trivial destructor
- common::mpl::unqualified_type
- common::stringified_argument_array_t<N> alias
- assert_public_data_type_properties()
- common::container::small_vector<T>::at function
- stringize returns small_vector<stringified_argument>
  - stack allocated vector
- remove has_pc_sampling condition (HSA, HIP)
  - this will be handled in queue interception

* Misc tweaks
このコミットが含まれているのは:
Jonathan R. Madsen
2024-03-13 07:36:55 -05:00
committed by GitHub
コミット 8591ed1c96
14個のファイルの変更、175行の追加、97行の削除
+2 -2
ファイルの表示
@@ -41,7 +41,7 @@ typedef struct rocprofiler_hsa_api_no_args
char empty;
} rocprofiler_hsa_api_no_args;
typedef union rocprofiler_hsa_api_retval_u
typedef union rocprofiler_hsa_api_retval_t
{
uint64_t uint64_t_retval;
uint32_t uint32_t_retval;
@@ -67,7 +67,7 @@ typedef void (*hsa_amd_runtime_queue_notifier)(const hsa_queue_t* queue,
hsa_agent_t agent,
void* data);
typedef union rocprofiler_hsa_api_args_u
typedef union rocprofiler_hsa_api_args_t
{
// block: CoreApi API
struct