fix: pass EncodeDispatchKernelArgs by reference

Related-To: NEO-13954

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe 2025-02-10 15:00:23 +00:00 committed by Compute-Runtime-Automation
parent 76da9e0faf
commit 906048771f
2 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@ struct CommandList : _ze_command_list_handle_t {
}
void forceDcFlushForDcFlushMitigation();
void setAdditionalDispatchKernelArgsFromLaunchParams(NEO::EncodeDispatchKernelArgs dispatchKernelArgs, const CmdListKernelLaunchParams &launchParams) const;
void setAdditionalDispatchKernelArgsFromLaunchParams(NEO::EncodeDispatchKernelArgs &dispatchKernelArgs, const CmdListKernelLaunchParams &launchParams) const;
void setOrdinal(uint32_t ord) { ordinal = ord; }
void setCommandListPerThreadScratchSize(uint32_t slotId, uint32_t size) {

View File

@ -12,7 +12,7 @@
namespace L0 {
struct CmdListKernelLaunchParams;
void CommandList::setAdditionalDispatchKernelArgsFromLaunchParams(NEO::EncodeDispatchKernelArgs dispatchKernelArgs, const CmdListKernelLaunchParams &launchParams) const {
void CommandList::setAdditionalDispatchKernelArgsFromLaunchParams(NEO::EncodeDispatchKernelArgs &dispatchKernelArgs, const CmdListKernelLaunchParams &launchParams) const {
}
} // namespace L0