SWDEV-462635 - 256 byte image memory alignment

Change-Id: I1d21368ff460477d3238d71e4e2a0a7d6b9167ac
Tá an tiomantas seo le fáil i:
Alex Xie údaraithe agus AlexBin Xie tiomanta 2024-05-29 10:37:27 -04:00
1 tuismitheoir f18a3405d7
tiomantas 80011685b2
1 comhad athraithe
+2 -2
+2 -2
Féach ar an gComhad
@@ -1473,8 +1473,8 @@ bool Device::populateOCLDeviceConstants() {
info_.hostUnifiedMemory_ = 1;
info_.iommuv2_ = true;
}
info_.memBaseAddrAlign_ =
8 * (flagIsDefault(MEMOBJ_BASE_ADDR_ALIGN) ? sizeof(int64_t[16]) : MEMOBJ_BASE_ADDR_ALIGN);
info_.memBaseAddrAlign_ = 8 * (flagIsDefault(MEMOBJ_BASE_ADDR_ALIGN) ?
sizeof(int64_t[16]) * 2 : MEMOBJ_BASE_ADDR_ALIGN);
info_.minDataTypeAlignSize_ = sizeof(int64_t[16]);
info_.maxConstantArgs_ = 8;