Description
Hello there,
Calling GpaGetSupportedSampleTypes
on my GPU (RX 7600 XT) with Vulkan only returns kGpaContextSampleTypeDiscreteCounter
but not kGpaContextSampleTypeStreamingCounter
, so I'm not able to access streaming counters like WaveOccupancyPct
.
Is there anything special to deploy or to tweak in order to access such counters?
Edit: Looking at the code, it is indeed hardcoded to only support discrete:
Seems removed here:
gpu_performance_api/source/public_counter_compiler/CounterCompiler.cs
Lines 1150 to 1161 in a0852bc
While the VK extensions seem to have a few stuffs related to spm:
gpu_performance_api/source/third_party/AmdVkExt/vk_amd_gpa_interface.h
Lines 137 to 146 in a0852bc
gpu_performance_api/source/third_party/AmdVkExt/vk_amd_gpa_interface.h
Lines 190 to 214 in a0852bc
So, what needs to be done to support streaming? Is it possible with the internal codebase by replicating what is done for d3d12 to Vulkan or it requires internal changes to some AMD drivers?