2019-09-13 12:00:30 +02:00
|
|
|
/*
|
2024-03-08 15:30:37 +00:00
|
|
|
* Copyright (C) 2019-2024 Intel Corporation
|
2019-09-13 12:00:30 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
2020-02-23 22:44:01 +01:00
|
|
|
#include "shared/source/command_stream/csr_definitions.h"
|
2021-05-31 12:04:57 +00:00
|
|
|
#include "shared/source/command_stream/csr_properties_flags.h"
|
2020-09-02 11:38:54 +02:00
|
|
|
|
2019-09-13 12:00:30 +02:00
|
|
|
using namespace NEO;
|
|
|
|
|
|
|
|
|
|
struct DispatchFlagsHelper {
|
|
|
|
|
static DispatchFlags createDefaultDispatchFlags() {
|
|
|
|
|
return DispatchFlags(
|
2022-11-19 18:25:04 +00:00
|
|
|
nullptr, // barrierTimestampPacketNodes
|
|
|
|
|
{}, // pipelineSelectArgs
|
|
|
|
|
nullptr, // flushStampReference
|
|
|
|
|
QueueThrottle::MEDIUM, // throttle
|
|
|
|
|
PreemptionMode::Disabled, // preemptionMode
|
2023-11-30 10:36:43 +00:00
|
|
|
GrfConfig::defaultGrfNumber, // numGrfRequired
|
2022-11-19 18:25:04 +00:00
|
|
|
L3CachingSettings::l3CacheOn, // l3CacheSettings
|
|
|
|
|
ThreadArbitrationPolicy::NotPresent, // threadArbitrationPolicy
|
2023-11-30 10:36:43 +00:00
|
|
|
AdditionalKernelExecInfo::notApplicable, // additionalKernelExecInfo
|
|
|
|
|
KernelExecutionType::notApplicable, // kernelExecutionType
|
|
|
|
|
MemoryCompressionState::notApplicable, // memoryCompressionState
|
2022-11-19 18:25:04 +00:00
|
|
|
QueueSliceCount::defaultSliceCount, // sliceCount
|
|
|
|
|
false, // blocking
|
|
|
|
|
false, // dcFlush
|
|
|
|
|
false, // useSLM
|
|
|
|
|
false, // guardCommandBufferWithPipeControl
|
|
|
|
|
false, // gsba32BitRequired
|
|
|
|
|
false, // lowPriority
|
|
|
|
|
false, // implicitFlush
|
|
|
|
|
false, // outOfOrderExecutionAllowed
|
|
|
|
|
false, // epilogueRequired
|
|
|
|
|
false, // usePerDssBackedBuffer
|
|
|
|
|
false, // areMultipleSubDevicesInContext
|
|
|
|
|
false, // memoryMigrationRequired
|
|
|
|
|
false, // textureCacheFlush
|
2022-11-26 20:10:32 +00:00
|
|
|
false, // hasStallingCmds
|
2023-01-12 16:58:18 +00:00
|
|
|
false, // hasRelaxedOrderingDependencies
|
2023-02-28 12:20:30 +00:00
|
|
|
false, // stateCacheInvalidation
|
2023-07-13 09:26:41 +00:00
|
|
|
false, // isStallingCommandsOnNextFlushRequired
|
2024-09-19 14:35:03 +00:00
|
|
|
false // isDcFlushRequiredOnStallingCommandsOnNextFlush
|
2021-07-01 16:00:22 +00:00
|
|
|
);
|
2019-09-13 12:00:30 +02:00
|
|
|
}
|
2019-10-03 14:38:49 +02:00
|
|
|
};
|