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]
Этот коммит содержится в:
@@ -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
|
||||
|
||||
Ссылка в новой задаче
Block a user