PC Sampling: API to list supported configurations
Add new PC Sampling API to list the supported PC Sampling methods and
options on a specific agent. If there is already a PC Sampling session
active on this agent, the list of methods returned will be reduced to
methods that can be run simultaneously with the current active session.
Change-Id: I42ac2b8f30d5c368faf8ed4cf37ca4134db22985
[ROCm/ROCR-Runtime commit: 295acf6b27]
이 커밋은 다음에 포함됨:
1 부모
8165c03e7b
커밋
0a4415f202
7 파일이 변경됨
+102
검색과 일치하는 파일 없음
@@ -94,6 +94,13 @@ void PcsRuntime::DestroySingleton() {
|
||||
}
|
||||
|
||||
void ReleasePcSamplingRsrcs() { PcsRuntime::DestroySingleton(); }
|
||||
hsa_status_t PcsRuntime::PcSamplingIterateConfig(
|
||||
core::Agent* agent, hsa_ven_amd_pcs_iterate_configuration_callback_t configuration_callback,
|
||||
void* callback_data) {
|
||||
AMD::GpuAgentInt* gpu_agent = static_cast<AMD::GpuAgentInt*>(agent);
|
||||
return gpu_agent->PcSamplingIterateConfig(configuration_callback, callback_data);
|
||||
}
|
||||
|
||||
|
||||
} // namespace pcs
|
||||
} // namespace rocr
|
||||
새 이슈에서 참조
사용자 차단