fix: Align IOH entry

Related-To: NEO-10036

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2024-02-26 12:10:21 +00:00
committed by Compute-Runtime-Automation
parent e16b5378da
commit cfd3edfb2c
8 changed files with 22 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2023 Intel Corporation
* Copyright (C) 2019-2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -327,6 +327,8 @@ size_t HardwareCommandsHelper<GfxFamily>::sendIndirectState(
auto indirectDataLength = alignUp(static_cast<uint32_t>(sizeCrossThreadData + sizePerThreadDataTotal),
WalkerType::INDIRECTDATASTARTADDRESS_ALIGN_SIZE);
walkerCmd->setIndirectDataLength(indirectDataLength);
ioh.align(kernel.getGfxCoreHelper().getIOHAlignment());
}
return offsetCrossThreadData;