2019-09-13 18:00:30 +08:00
|
|
|
/*
|
2020-01-23 18:57:37 +08:00
|
|
|
* Copyright (C) 2019-2020 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"
|
2019-09-13 18:00:30 +08:00
|
|
|
|
2020-09-02 17:38:54 +08:00
|
|
|
#include "csr_properties_flags.h"
|
|
|
|
|
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
|
|
|
|
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
|
2019-09-13 18:00:30 +08:00
|
|
|
);
|
|
|
|
}
|
2019-10-03 20:38:49 +08:00
|
|
|
};
|