P4 to Git Change 1453901 by gandryey@gera-w8 on 2017/08/31 14:34:49
SWDEV-86035 - Code clean-up - Use TS check first to avoid LogError - Reset VirtualGPU reference if resource was cached - Lock active VirtualGPU on release, since a cached resource can have access to that queue from another thread Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#32 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#54 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#30 edit
This commit is contained in:
@@ -2281,7 +2281,6 @@ void VirtualGPU::submitMarker(amd::Marker& vcmd) {
|
||||
}
|
||||
|
||||
void VirtualGPU::releaseMemory(GpuMemoryReference* mem, GpuEvent* event) {
|
||||
waitForEvent(event);
|
||||
queues_[MainEngine]->removeCmdMemRef(mem);
|
||||
queues_[SdmaEngine]->removeCmdMemRef(mem);
|
||||
}
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user