P4 to Git Change 1468181 by gandryey@gera-w8 on 2017/10/10 17:42:02
SWDEV-133815 - PAL support for Linux Pro w/OpenCL 2.0 support
- Fix the clear size in FillBuffer. It's in bytes.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#61 edit
[ROCm/clr commit: 7b524705c1]
Tá an tiomantas seo le fáil i:
@@ -654,7 +654,7 @@ bool VirtualGPU::createVirtualQueue(uint deviceQueueSize) {
|
||||
|
||||
uint64_t pattern = 0;
|
||||
amd::Coord3D origin(0, 0, 0);
|
||||
amd::Coord3D region((virtualQueue_->size() / sizeof(pattern)), 0, 0);
|
||||
amd::Coord3D region(virtualQueue_->size(), 0, 0);
|
||||
if (!dev().xferMgr().fillBuffer(*virtualQueue_, &pattern, sizeof(pattern), origin, region)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir