MI355X Support - PC Sampling and updating counter_defs.yaml (#206)
* Update mi350/gfx950 counter_defs.yaml (#131) * Update gfx950 counter_defs.yaml * Update F8 MFMA for gfx950 * Update counter_defs.yaml * Update counter_defs.yaml * add simd_util counter * add new rdc ops gfx950 * Update counter_defs.yaml * New mi350 CPC counters * Update counter_defs.yaml * New mi350 spi counters * Update new mi350 sq counter_defs.yaml * Update TA counter_defs.yaml * Update TD GFX950counter_defs.yaml * Update TCP gfx950 counter_defs.yaml * Update new gfx950 tcc counter_defs.yaml * Update TCP_PENDING_STALL_CYCLES counter_defs.yaml * MI355X Host-Trap PC sampling Support (#130) * Adding gfx12 to CU_NUM * Add ELFABIVERSION_AMDGPU_HSA_V6 * add gfx950 to TEST_YAML_LOAD metric * add gfx950 to append counters tests * Updated CHANGELOG.md --------- Co-authored-by: Kandula, Venkateshwar reddy <Venkateshwarreddy.Kandula@amd.com> Co-authored-by: Indic, Vladimir <Vladimir.Indic@amd.com> Co-authored-by: Bhardwaj, Gopesh <Gopesh.Bhardwaj@amd.com> Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>
This commit is contained in:
committed by
GitHub
parent
821918a512
commit
09c7d44cc4
@@ -238,6 +238,16 @@ is_pc_sampling_supported(const rocprofiler_agent_t* agent)
|
||||
else
|
||||
return ROCPROFILER_STATUS_ERROR_INCOMPATIBLE_KERNEL;
|
||||
}
|
||||
else if(agent_name.find("gfx95") == 0)
|
||||
{
|
||||
// As I am not sure if the PCS IOCTL is going to be bumped for gfx950,
|
||||
// I introduced a separate branch for it.
|
||||
// We expect PC sampling IOCTL to be at least 0.3 for gfx950.
|
||||
if(pcs_ioctl_version.major_version > 0 || pcs_ioctl_version.minor_version >= 3)
|
||||
return ROCPROFILER_STATUS_SUCCESS;
|
||||
else
|
||||
return ROCPROFILER_STATUS_ERROR_INCOMPATIBLE_KERNEL;
|
||||
}
|
||||
else
|
||||
{
|
||||
// The agent does not support PC sampling.
|
||||
|
||||
Reference in New Issue
Block a user