P4 to Git Change 1564341 by gandryey@gera-w8 on 2018/06/05 16:37:09
SWDEV-79445 - OCL generic changes and code clean-up - Follwoing CL#1564298. Delete the old array Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#421 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#106 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#55 edit
Ta zmiana jest zawarta w:
%! (template.HTML=
foreman)złożyło 2018-06-05 16:44:03 -04:00
1 rodzic
1130565901
złożenie
aa7316a8eb
3 plików zmienionych
+3
Żadne pliki nie pasują do Twojego wyszukiwania
@@ -176,6 +176,7 @@ void VirtualGPU::MemoryDependency::clear(bool all) {
|
||||
}
|
||||
maxMemObjectsInQueue_ <<= 1;
|
||||
memcpy(ptr, memObjectsInQueue_, sizeof(MemoryState) * numMemObjectsInQueue_);
|
||||
delete[] memObjectsInQueue_;
|
||||
memObjectsInQueue_= ptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika