P4 to Git Change 1793366 by gandryey@gera-win10 on 2019/06/07 13:10:35

SWDEV-79445 - OCL generic changes and code clean-up
	- Use PAL shader core properties instead of the local device info

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#53 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#140 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#134 edit
このコミットが含まれているのは:
foreman
2019-06-07 13:22:59 -04:00
コミット 180c320d5c
3個のファイルの変更57行の追加83行の削除
+2 -1
ファイルの表示
@@ -533,7 +533,8 @@ void VirtualGPU::MemoryDependency::clear(bool all) {
}
VirtualGPU::DmaFlushMgmt::DmaFlushMgmt(const Device& dev) : cbWorkload_(0), dispatchSplitSize_(0) {
aluCnt_ = dev.info().simdPerCU_ * dev.info().simdWidth_ * dev.info().maxComputeUnits_;
aluCnt_ = dev.properties().gfxipProperties.shaderCore.numSimdsPerCu *
dev.info().simdWidth_ * dev.info().maxComputeUnits_;
maxDispatchWorkload_ = static_cast<uint64_t>(dev.info().maxEngineClockFrequency_) *
// find time in us
dev.settings().maxWorkloadTime_ * aluCnt_;