P4 to Git Change 1211599 by rili@rili_opencl_stg on 2015/11/16 14:38:36

SWDEV-78240 - Reduce workload for Stoney

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#334 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#392 edit
This commit is contained in:
foreman
2015-11-16 14:45:37 -05:00
والد 2b6f4f6477
کامیت b03a0deeaa
2فایلهای تغییر یافته به همراه23 افزوده شده و 18 حذف شده
@@ -139,7 +139,7 @@ VirtualGPU::DmaFlushMgmt::DmaFlushMgmt(const Device& dev)
aluCnt_ = dev.info().simdPerCU_ * dev.info().simdWidth_ * dev.info().maxComputeUnits_;
maxDispatchWorkload_ = static_cast<uint64_t>(dev.info().maxClockFrequency_) *
// find time in us
100 * dev.settings().maxWorkloadTime_ *
dev.settings().maxWorkloadTime_ *
aluCnt_;
resetCbWorkload(dev);
}
@@ -150,7 +150,7 @@ VirtualGPU::DmaFlushMgmt::resetCbWorkload(const Device& dev)
cbWorkload_ = 0;
maxCbWorkload_ = static_cast<uint64_t>(dev.info().maxClockFrequency_) *
// find time in us
100 * dev.settings().minWorkloadTime_ * aluCnt_;
dev.settings().minWorkloadTime_ * aluCnt_;
}
void