mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
fix: Align IOH entry
Related-To: NEO-10036 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e16b5378da
commit
cfd3edfb2c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user