P4 to Git Change 1458387 by rili@rili-new-stg-pal-opencl on 2017/09/13 13:59:02

SWDEV-131925 - Initialize virtual queue
	                            Code Review: http://ocltc.amd.com/reviews/r/13436/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#57 edit


[ROCm/clr commit: 8b2c819023]
Этот коммит содержится в:
foreman
2017-09-13 14:08:50 -04:00
родитель 8ef3235c5a
Коммит fe289ba112
+7
Просмотреть файл
@@ -652,6 +652,13 @@ bool VirtualGPU::createVirtualQueue(uint deviceQueueSize) {
}
}
uint64_t pattern = 0;
amd::Coord3D origin(0, 0, 0);
amd::Coord3D region((virtualQueue_->size() / sizeof(pattern)), 0, 0);
if (!dev().xferMgr().fillBuffer(*virtualQueue_, &pattern, sizeof(pattern), origin, region)) {
return false;
}
uint64_t vaBase = virtualQueue_->vmAddress();
AmdVQueueHeader header = {};
// Initialize the virtual queue header