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