rocprofiler-sdk/context.h Source File#
Rocprofiler SDK Developer API 0.6.0
ROCm Profiling API and tools
|
context.h
Go to the documentation of this file.
32 * @brief Associate services with a handle. This handle is used to activate/deactivate the services
rocprofiler_status_t rocprofiler_start_context(rocprofiler_context_id_t context_id)
Start context.
rocprofiler_status_t rocprofiler_create_context(rocprofiler_context_id_t *context_id)
Create context.
rocprofiler_status_t rocprofiler_context_is_active(rocprofiler_context_id_t context_id, int *status)
Query whether context is currently active.
rocprofiler_status_t rocprofiler_context_is_valid(rocprofiler_context_id_t context_id, int *status)
Query whether the context is valid.
rocprofiler_status_t rocprofiler_stop_context(rocprofiler_context_id_t context_id)
Stop context.
Generated by 1.9.8