rocprofiler-sdk/fwd.h Source File#
|
ROCprofiler-SDK developer API 1.1.0
ROCm Profiling API and tools
|
fwd.h
257 * @brief ROCProfiler HIP Stream Operations. These operations can be used to associate subsequent
319 /// order to get the data they requested when the async operation was started. When the phase is
340 /// before kernel B is launched, it is entirely possible that the HSA runtime ends up processing
393 * @brief Enumeration for specifying runtime libraries supported by rocprofiler. This enumeration is
409 * @brief Enumeration for specifying intercept tables supported by rocprofiler. This enumeration is
459 ROCPROFILER_COUNTER_RECORD_PROFILE_COUNTING_DISPATCH_HEADER, ///< ::rocprofiler_dispatch_counting_service_record_t
488 ROCPROFILER_PC_SAMPLING_RECORD_HOST_TRAP_V0_SAMPLE, ///< ::rocprofiler_pc_sampling_record_host_trap_v0_t
489 ROCPROFILER_PC_SAMPLING_RECORD_STOCHASTIC_V0_SAMPLE, ///< ::rocprofiler_pc_sampling_record_stochastic_v0_t
513 * for that partiular operation. i.e: For ROCProfiler enumeration of HSA AMD Extended API tracing
724 * @brief Generic record with type identifier(s) and a pointer to data. This data type is used with
uint32_t private_segment_size
Runtime private memory segment size. Size of private, spill, and arg segment memory (static + runtime...
Definition fwd.h:799
rocprofiler_user_data_t external
An ID specified by tools to associate external events. See include/rocprofiler-sdk/external_correlati...
Definition fwd.h:626
uint64_t internal
A unique ID created by rocprofiler-sdk when an API call is invoked.
Definition fwd.h:644
rocprofiler_user_data_t external
An ID specified by tools to associate external events. See include/rocprofiler-sdk/external_correlati...
Definition fwd.h:645
void * payload
Pointer to data. Should be casted to data type based on category + kind.
Definition fwd.h:768
uint32_t group_segment_size
Runtime group memory segment size. Size of group segment memory (static + runtime) required by the ke...
Definition fwd.h:800
uint64_t internal
A unique ID created by rocprofiler-sdk when an API call is invoked.
Definition fwd.h:625
rocprofiler_dispatch_id_t dispatch_id
A value greater than zero indicates that this counter record is associated with a specific dispatch.
Definition fwd.h:838
rocprofiler_counter_dimension_id_t id
Id for this dimension used by rocprofiler_query_record_dimension_position.
Definition fwd.h:821
uint64_t ancestor
Stores the internal value of the API call that generated this API call.
Definition fwd.h:627
int32_t rocprofiler_tracing_operation_t
Tracing Operation ID. Depending on the kind, operations can be determined. If the value is equal to z...
Definition fwd.h:516
uint64_t rocprofiler_counter_dimension_id_t
A dimension for counter instances. Some example dimensions include XCC, SM (Shader),...
Definition fwd.h:542
uint64_t rocprofiler_counter_instance_id_t
Unique record id encoding both the counter and dimensional values (positions) for the record.
Definition fwd.h:534
rocprofiler_runtime_initialization_operation_t
ROCProfiler Runtime Initialization Tracer Operations.
Definition fwd.h:430
rocprofiler_counter_record_kind_t
Enumeration for distinguishing different buffer record kinds within the ROCPROFILER_BUFFER_CATEGORY_C...
Definition fwd.h:457
rocprofiler_intercept_table_t
Enumeration for specifying intercept tables supported by rocprofiler. This enumeration is used for in...
Definition fwd.h:413
uint64_t rocprofiler_thread_id_t
Thread ID. Value will be equivalent to syscall(__NR_gettid)
Definition fwd.h:507
rocprofiler_pc_sampling_record_kind_t
Enumeration for distinguishing different buffer record kinds within the ROCPROFILER_BUFFER_CATEGORY_P...
Definition fwd.h:485
rocprofiler_kernel_dispatch_operation_t
ROCProfiler Kernel Dispatch Tracing Operation Types.
Definition fwd.h:304
rocprofiler_runtime_library_t
Enumeration for specifying runtime libraries supported by rocprofiler. This enumeration is used for t...
Definition fwd.h:397
rocprofiler_buffer_category_t
Buffer record categories. This enumeration type is encoded in rocprofiler_record_header_t category fi...
Definition fwd.h:114
rocprofiler_hip_stream_operation_t
ROCProfiler HIP Stream Operations. These operations can be used to associate subsequent information w...
Definition fwd.h:261
rocprofiler_counter_info_version_id_t
Enumeration for specifying the counter info struct version you want.
Definition fwd.h:445
rocprofiler_counter_flag_t
Enumeration of flags that can be used with some counter api calls.
Definition fwd.h:472
@ ROCPROFILER_SCRATCH_MEMORY_ASYNC_RECLAIM
Scratch memory asynchronously reclaimed.
Definition fwd.h:388
@ ROCPROFILER_RUNTIME_INITIALIZATION_ROCDECODE
Application loaded rocDecoder runtime.
Definition fwd.h:436
@ ROCPROFILER_RUNTIME_INITIALIZATION_MARKER
Application loaded Marker (ROCTx) runtime.
Definition fwd.h:434
@ ROCPROFILER_COUNTER_RECORD_PROFILE_COUNTING_DISPATCH_HEADER
rocprofiler_dispatch_counting_service_record_t
Definition fwd.h:459
@ ROCPROFILER_STATUS_ERROR_FINALIZED
invalid because rocprofiler has been finalized
Definition fwd.h:79
@ ROCPROFILER_STATUS_ERROR_CONTEXT_NOT_STARTED
Context was not started (e.g., atomic swap into active array failed)
Definition fwd.h:61
@ ROCPROFILER_STATUS_ERROR_INVALID_ARGUMENT
Function invoked with one or more invalid arguments.
Definition fwd.h:76
@ ROCPROFILER_STATUS_ERROR_CONFIGURATION_LOCKED
Function call is not valid outside of rocprofiler configuration (i.e. function called post-initializa...
Definition fwd.h:70
@ ROCPROFILER_STATUS_ERROR_CONTEXT_CONFLICT
Context operation failed due to a conflict with another context.
Definition fwd.h:63
@ ROCPROFILER_STATUS_ERROR_SERVICE_ALREADY_CONFIGURED
service has already been configured in context
Definition fwd.h:68
@ ROCPROFILER_STATUS_ERROR_AGENT_MISMATCH
Agent mismatch between profile and context.
Definition fwd.h:99
@ ROCPROFILER_STATUS_ERROR_AGENT_DISPATCH_CONFLICT
Cannot enable both agent and dispatch counting in the same context.
Definition fwd.h:93
@ ROCPROFILER_STATUS_ERROR_OPERATION_NOT_FOUND
Operation identifier is invalid for domain.
Definition fwd.h:55
@ ROCPROFILER_STATUS_ERROR_AQL_NO_EVENT_COORD
Event coordinate was not found by AQL profile.
Definition fwd.h:86
@ ROCPROFILER_STATUS_ERROR_NOT_AVAILABLE
The service is not available. Please refer to API functions that return this status code for more inf...
Definition fwd.h:100
@ ROCPROFILER_STATUS_ERROR_OUT_OF_RESOURCES
The given resources are insufficient to complete operation.
Definition fwd.h:90
@ ROCPROFILER_STATUS_ERROR_EXCEEDS_HW_LIMIT
Exceeds hardware limits for collection.
Definition fwd.h:103
@ ROCPROFILER_STATUS_ERROR_CONTEXT_NOT_FOUND
No valid context for given context id.
Definition fwd.h:52
@ ROCPROFILER_STATUS_INTERNAL_NO_AGENT_CONTEXT
No agent context found, may not be an error.
Definition fwd.h:95
@ ROCPROFILER_STATUS_ERROR_AST_GENERATION_FAILED
AST could not be generated correctly.
Definition fwd.h:84
@ ROCPROFILER_STATUS_ERROR_INCOMPATIBLE_KERNEL
A service depends on a newer version of KFD (amdgpu kernel driver). Check logs for service that repor...
Definition fwd.h:87
@ ROCPROFILER_STATUS_ERROR_PROFILE_COUNTER_NOT_FOUND
Profile could not find counter for GPU agent.
Definition fwd.h:82
@ ROCPROFILER_STATUS_ERROR_AGENT_ARCH_NOT_SUPPORTED
Agent HW architecture not supported.
Definition fwd.h:104
@ ROCPROFILER_STATUS_ERROR_METRIC_NOT_VALID_FOR_AGENT
Invalid metric supplied to agent.
Definition fwd.h:78
@ ROCPROFILER_STATUS_ERROR_BUFFER_BUSY
buffer operation failed because it currently busy handling another request (e.g. flushing)
Definition fwd.h:66
@ ROCPROFILER_STATUS_ERROR_INCOMPATIBLE_ABI
Data structure provided by user is incompatible with current version of rocprofiler.
Definition fwd.h:74
@ ROCPROFILER_STATUS_ERROR_CONTEXT_ID_NOT_ZERO
Context ID is not initialized to zero.
Definition fwd.h:65
@ ROCPROFILER_STATUS_ERROR_NO_HARDWARE_COUNTERS
No hardware counters were specified.
Definition fwd.h:98
@ ROCPROFILER_STATUS_ERROR_HSA_NOT_LOADED
Call requires HSA to be loaded before performed.
Definition fwd.h:80
@ ROCPROFILER_CALLBACK_PHASE_UNLOAD
Callback invoked prior to code object unloading.
Definition fwd.h:143
@ ROCPROFILER_BUFFER_TRACING_KFD_EVENT_QUEUE
Definition fwd.h:221
@ ROCPROFILER_BUFFER_TRACING_MARKER_CORE_API
Definition fwd.h:196
@ ROCPROFILER_BUFFER_TRACING_KFD_EVENT_PAGE_FAULT
Definition fwd.h:219
@ ROCPROFILER_BUFFER_TRACING_RUNTIME_INITIALIZATION
Record indicating a runtime library has been initialized.
Definition fwd.h:207
@ ROCPROFILER_BUFFER_TRACING_MEMORY_ALLOCATION
Definition fwd.h:205
@ ROCPROFILER_BUFFER_TRACING_KFD_EVENT_UNMAP_FROM_GPU
Definition fwd.h:222
@ ROCPROFILER_BUFFER_TRACING_MARKER_NAME_API
Definition fwd.h:198
@ ROCPROFILER_BUFFER_TRACING_KFD_PAGE_MIGRATE
Definition fwd.h:226
@ ROCPROFILER_BUFFER_TRACING_CORRELATION_ID_RETIREMENT
Correlation ID in no longer in use.
Definition fwd.h:202
@ ROCPROFILER_BUFFER_TRACING_MARKER_CORE_RANGE_API
Definition fwd.h:229
@ ROCPROFILER_BUFFER_TRACING_HSA_CORE_API
Definition fwd.h:189
@ ROCPROFILER_BUFFER_TRACING_SCRATCH_MEMORY
Buffer scratch memory reclaimation info.
Definition fwd.h:201
@ ROCPROFILER_BUFFER_TRACING_KFD_EVENT_DROPPED_EVENTS
Definition fwd.h:224
@ ROCPROFILER_BUFFER_TRACING_KFD_EVENT_PAGE_MIGRATE
Definition fwd.h:217
@ ROCPROFILER_BUFFER_TRACING_HIP_RUNTIME_API
Definition fwd.h:194
@ ROCPROFILER_BUFFER_TRACING_MARKER_CONTROL_API
Definition fwd.h:197
@ ROCPROFILER_BUFFER_TRACING_HSA_IMAGE_EXT_API
Definition fwd.h:191
@ ROCPROFILER_BUFFER_TRACING_HIP_COMPILER_API
Definition fwd.h:195
@ ROCPROFILER_BUFFER_TRACING_HSA_AMD_EXT_API
Definition fwd.h:190
@ ROCPROFILER_BUFFER_TRACING_KFD_PAGE_FAULT
Definition fwd.h:227
@ ROCPROFILER_BUFFER_TRACING_HSA_FINALIZE_EXT_API
Definition fwd.h:192
@ ROCPROFILER_PC_SAMPLING_RECORD_HOST_TRAP_V0_SAMPLE
rocprofiler_pc_sampling_record_host_trap_v0_t
Definition fwd.h:488
@ ROCPROFILER_PC_SAMPLING_RECORD_INVALID_SAMPLE
rocprofiler_pc_sampling_record_invalid_t
Definition fwd.h:487
@ ROCPROFILER_PC_SAMPLING_RECORD_STOCHASTIC_V0_SAMPLE
rocprofiler_pc_sampling_record_stochastic_v0_t
Definition fwd.h:489
@ ROCPROFILER_CALLBACK_TRACING_CODE_OBJECT
Definition fwd.h:165
@ ROCPROFILER_CALLBACK_TRACING_MEMORY_ALLOCATION
Definition fwd.h:171
@ ROCPROFILER_CALLBACK_TRACING_MARKER_CONTROL_API
Definition fwd.h:162
@ ROCPROFILER_CALLBACK_TRACING_MARKER_CORE_RANGE_API
Definition fwd.h:178
@ ROCPROFILER_CALLBACK_TRACING_RUNTIME_INITIALIZATION
Callback notifying that a runtime library has been initialized.
Definition fwd.h:173
@ ROCPROFILER_CALLBACK_TRACING_HIP_COMPILER_API
Definition fwd.h:160
@ ROCPROFILER_CALLBACK_TRACING_HSA_AMD_EXT_API
Definition fwd.h:155
@ ROCPROFILER_CALLBACK_TRACING_MARKER_NAME_API
Definition fwd.h:164
@ ROCPROFILER_CALLBACK_TRACING_HSA_CORE_API
Definition fwd.h:154
@ ROCPROFILER_CALLBACK_TRACING_MEMORY_COPY
Definition fwd.h:168
@ ROCPROFILER_CALLBACK_TRACING_SCRATCH_MEMORY
Definition fwd.h:166
@ ROCPROFILER_CALLBACK_TRACING_HIP_RUNTIME_API
Definition fwd.h:159
@ ROCPROFILER_CALLBACK_TRACING_HIP_STREAM
Definition fwd.h:177
@ ROCPROFILER_CALLBACK_TRACING_HSA_IMAGE_EXT_API
Definition fwd.h:156
@ ROCPROFILER_CALLBACK_TRACING_MARKER_CORE_API
Definition fwd.h:161
@ ROCPROFILER_CALLBACK_TRACING_HSA_FINALIZE_EXT_API
Definition fwd.h:157
@ ROCPROFILER_COUNTER_FLAG_APPEND_DEFINITION
Append the counter definition to the system provided counter definition file.
Definition fwd.h:475
ROCProfiler Correlation ID record for async activity.
Definition fwd.h:643
(experimental) Details for the dimension, including its size, for a counter record.
Definition fwd.h:818
(experimental) ROCProfiler Profile Counting Counter Record per instance.
Definition fwd.h:835
Multi-dimensional struct of data used to describe GPU workgroup and grid sizes.
Definition fwd.h:702
Generic record with type identifier(s) and a pointer to data. This data type is used with buffered da...
Definition fwd.h:753
Generated by