This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

General ROCProfiler Requirements

General ROCProfiler Requirements#

rocprofiler: General ROCProfiler Requirements
General ROCProfiler Requirements

Modules

 ROCProfiler Sessions
 ROCProfiler Session Modes.
 

Functions

ROCPROFILER_API rocprofiler_status_t rocprofiler_initialize () ROCPROFILER_VERSION_9_0
 Initialize the API Tools. More...
 
ROCPROFILER_API rocprofiler_status_t rocprofiler_finalize () ROCPROFILER_VERSION_9_0
 Finalize the API Tools. More...
 

Detailed Description

Function Documentation

◆ rocprofiler_finalize()

ROCPROFILER_API rocprofiler_status_t rocprofiler_finalize ( )

Finalize the API Tools.

Return values
ROCPROFILER_STATUS_SUCCESSThe function has been executed successfully.
::ROCPROFILER_STATUS_ERROR_API_NOT_INITIALIZEDIf initialize wasn't called or finalized called twice

◆ rocprofiler_initialize()

ROCPROFILER_API rocprofiler_status_t rocprofiler_initialize ( )

Initialize the API Tools.

Return values
ROCPROFILER_STATUS_SUCCESSThe function has been executed successfully.
::ROCPROFILER_STATUS_ERROR_API_ALREADY_INITIALIZEDIf initialize wasn't called or finalized called twice