mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
refactor: adjust code to compile with c++20
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a9c0199dfe
commit
5e1fa75676
@@ -106,6 +106,15 @@ enum class CompareOperation : uint32_t {
|
||||
struct EncodeWalkerArgs {
|
||||
EncodeWalkerArgs() = delete;
|
||||
|
||||
EncodeWalkerArgs(const KernelDescriptor &kernelDescriptor, KernelExecutionType kernelExecutionType, NEO::RequiredDispatchWalkOrder requiredDispatchWalkOrder,
|
||||
uint32_t localRegionSize, uint32_t maxFrontEndThreads, bool requiredSystemFence)
|
||||
: kernelDescriptor(kernelDescriptor),
|
||||
kernelExecutionType(kernelExecutionType),
|
||||
requiredDispatchWalkOrder(requiredDispatchWalkOrder),
|
||||
localRegionSize(localRegionSize),
|
||||
maxFrontEndThreads(maxFrontEndThreads),
|
||||
requiredSystemFence(requiredSystemFence) {}
|
||||
|
||||
const KernelDescriptor &kernelDescriptor;
|
||||
KernelExecutionType kernelExecutionType = KernelExecutionType::defaultType;
|
||||
NEO::RequiredDispatchWalkOrder requiredDispatchWalkOrder = NEO::RequiredDispatchWalkOrder::none;
|
||||
|
||||
@@ -361,11 +361,11 @@ void EncodeDispatchKernel<Family>::encode(CommandContainer &container, EncodeDis
|
||||
rootDeviceEnvironment);
|
||||
|
||||
if (args.inOrderExecInfo) {
|
||||
EncodeDispatchKernel<Family>::setupPostSyncForInOrderExec<WalkerType>(walkerCmd, args);
|
||||
EncodeDispatchKernel<Family>::setupPostSyncForInOrderExec(walkerCmd, args);
|
||||
} else if (args.eventAddress) {
|
||||
EncodeDispatchKernel<Family>::setupPostSyncForRegularEvent<WalkerType>(walkerCmd, args);
|
||||
EncodeDispatchKernel<Family>::setupPostSyncForRegularEvent(walkerCmd, args);
|
||||
} else {
|
||||
EncodeDispatchKernel<Family>::forceComputeWalkerPostSyncFlushWithWrite<WalkerType>(walkerCmd);
|
||||
EncodeDispatchKernel<Family>::forceComputeWalkerPostSyncFlushWithWrite(walkerCmd);
|
||||
}
|
||||
|
||||
if (debugManager.flags.ForceComputeWalkerPostSyncFlush.get() == 1) {
|
||||
|
||||
Reference in New Issue
Block a user