2019-09-13 18:00:30 +08:00
|
|
|
/*
|
2021-01-26 22:05:22 +08:00
|
|
|
* Copyright (C) 2019-2021 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(
|
2020-09-02 17:38:54 +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
|
2020-11-17 18:42:29 +08:00
|
|
|
KernelExecutionType::NotApplicable, //kernelExecutionType
|
2020-12-17 08:36:45 +08:00
|
|
|
MemoryCompressionState::NotApplicable, //memoryCompressionState
|
2020-09-02 17:38:54 +08:00
|
|
|
QueueSliceCount::defaultSliceCount, //sliceCount
|
|
|
|
false, //blocking
|
|
|
|
false, //dcFlush
|
|
|
|
false, //useSLM
|
|
|
|
false, //guardCommandBufferWithPipeControl
|
|
|
|
false, //gsba32BitRequired
|
|
|
|
false, //requiresCoherency
|
|
|
|
false, //lowPriority
|
|
|
|
false, //implicitFlush
|
|
|
|
false, //outOfOrderExecutionAllowed
|
|
|
|
false, //epilogueRequired
|
2020-11-18 21:56:18 +08:00
|
|
|
false, //usePerDssBackedBuffer
|
2021-01-26 22:05:22 +08:00
|
|
|
false, //useSingleSubdevice
|
|
|
|
false, //useGlobalAtomics
|
2021-03-30 01:06:29 +08:00
|
|
|
false); //areMultipleSubDevicesInContext
|
2019-09-13 18:00:30 +08:00
|
|
|
}
|
2019-10-03 20:38:49 +08:00
|
|
|
};
|