mirror of
https://github.com/intel/compute-runtime.git
synced 2025-06-28 17:58:30 +08:00

Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
40 lines
1.7 KiB
C++
40 lines
1.7 KiB
C++
/*
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/source/command_stream/csr_definitions.h"
|
|
|
|
using namespace NEO;
|
|
|
|
struct DispatchFlagsHelper {
|
|
static DispatchFlags createDefaultDispatchFlags() {
|
|
return DispatchFlags(
|
|
{}, //csrDependencies
|
|
nullptr, //barrierTimestampPacketNodes
|
|
{}, //pipelineSelectArgs
|
|
nullptr, //flushStampReference
|
|
QueueThrottle::MEDIUM, //throttle
|
|
PreemptionMode::Disabled, //preemptionMode
|
|
GrfConfig::DefaultGrfNumber, //numGrfRequired
|
|
L3CachingSettings::l3CacheOn, //l3CacheSettings
|
|
ThreadArbitrationPolicy::NotPresent, //threadArbitrationPolicy
|
|
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
|
|
);
|
|
}
|
|
};
|