Lower layer ignores alignment

Change-Id: If16df951ecefddc804a6effe013058afc595d30f
Этот коммит содержится в:
German Andryeyev
2024-04-23 15:54:28 -04:00
родитель 1761f1b7f5
Коммит 5c23440199
+1
Просмотреть файл
@@ -495,6 +495,7 @@ struct Graph {
void* ptr;
const auto& dev_info = g_devices[0]->devices()[0]->info();
size = amd::alignUp(size, dev_info.virtualMemAllocGranularity_);
// Single virtual alloc would reserve for all devices.
ptr = g_devices[0]->devices()[0]->virtualAlloc(startAddress, size,
dev_info.virtualMemAllocGranularity_);