SWDEV-491643 - AQL packets are captured for kernels disable sdma profiling
hsa_amd_profiling_async_copy_enable is taking 45us for the first call. Disable sdma profiling for enqueuing captured kernel packets and for accumulate command.
Change-Id: I80b51a58c46bccc9c1025e9331515f57c97b5a2a
[ROCm/clr commit: 9820480cbd]
This commit is contained in:
committed by
Anusha Godavarthy Surya
parent
240a27724b
commit
04cc0ceeb1
@@ -995,7 +995,7 @@ inline bool VirtualGPU::dispatchAqlPacket(
|
||||
vcmd->addKernelName(kernelName);
|
||||
amd::ScopedLock lock(execution());
|
||||
|
||||
profilingBegin(*vcmd, true);
|
||||
profilingBegin(*vcmd);
|
||||
|
||||
dispatchBlockingWait();
|
||||
auto packet = reinterpret_cast<hsa_kernel_dispatch_packet_t*>(aqlpacket);
|
||||
@@ -3659,7 +3659,7 @@ void VirtualGPU::submitMarker(amd::Marker& vcmd) {
|
||||
void VirtualGPU::submitAccumulate(amd::AccumulateCommand& vcmd) {
|
||||
// Make sure VirtualGPU has an exclusive access to the resources
|
||||
amd::ScopedLock lock(execution());
|
||||
profilingBegin(vcmd, true);
|
||||
profilingBegin(vcmd);
|
||||
|
||||
const Settings& settings = dev().settings();
|
||||
if (settings.barrier_value_packet_) {
|
||||
|
||||
Reference in New Issue
Block a user