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
Bu işleme şunda yer alıyor:
işlemeyi yapan:
Anusha Godavarthy Surya
ebeveyn
39b64b57d9
işleme
9820480cbd
@@ -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_) {
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle