Agent Profiling Fixes for Broken/Improper API Usage (#1122)
Prevent's multiple setups of agent profiling on the same agent.
Fixes agent read context to only read agents that were setup.
Prevent copy of agent profiling internal data struct and reset
hsa_signal on move to prevent inadvertant delete.
[ROCm/rocprofiler-sdk commit: 788e687167]
이 커밋은 다음에 포함됨:
1 부모
3a65aabe8b
커밋
d89a46ca2e
5 파일이 변경됨
+18
-2
검색과 일치하는 파일 없음
@@ -84,6 +84,8 @@ typedef void (*rocprofiler_device_counting_service_callback_t)(
|
||||
* @return ::rocprofiler_status_t
|
||||
* @retval ::ROCPROFILER_STATUS_ERROR_CONTEXT_INVALID Returned if the context does not exist.
|
||||
* @retval ::ROCPROFILER_STATUS_ERROR_BUFFER_NOT_FOUND Returned if the buffer is not found.
|
||||
* @retval ::ROCPROFILER_STATUS_ERROR_INVALID_ARGUMENT Returned if context already has agent
|
||||
* profiling configured for agent_id.
|
||||
* @retval ::ROCPROFILER_STATUS_SUCCESS Returned if succesfully configured
|
||||
*/
|
||||
rocprofiler_status_t
|
||||
|
||||
새 이슈에서 참조
사용자 차단