P4 to Git Change 1508214 by gandryey@gera-lnx-rcf on 2018/01/25 18:10:13
SWDEV-142271 - Performance drop is observed in Ocean Surface Simulation of Compubenchcl in 17.50 when compared to 17.Q4.1 - Fix link error in Linux. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#72 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#40 edit
Ta zmiana jest zawarta w:
%! (template.HTML=
foreman)złożyło 2018-01-25 18:41:08 -05:00
1 rodzic
142e5908ee
złożenie
9ed39f6107
2 plików zmienionych
+13
-13
Żadne pliki nie pasują do Twojego wyszukiwania
@@ -204,19 +204,6 @@ void VirtualGPU::Queue::addCmdDoppRef(Pal::IGpuMemory* iMem, bool lastDoppCmd, b
|
||||
palDoppRefs_.push_back(doppRef);
|
||||
}
|
||||
|
||||
template <bool avoidBarrierSubmit>
|
||||
uint VirtualGPU::Queue::submit(bool forceFlush) {
|
||||
cmdCnt_++;
|
||||
uint id = cmdBufIdCurrent_;
|
||||
bool flushCmd = ((cmdCnt_ > MaxCommands) || forceFlush) && !avoidBarrierSubmit;
|
||||
if (flushCmd) {
|
||||
if (!flush()) {
|
||||
return GpuEvent::InvalidID;
|
||||
}
|
||||
}
|
||||
return id;
|
||||
}
|
||||
|
||||
bool VirtualGPU::Queue::flush() {
|
||||
// Stop commands building
|
||||
if (Pal::Result::Success != iCmdBuffs_[cmdBufIdSlot_]->End()) {
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika