Files
compute-runtime/unit_tests/helpers/dispatch_flags_helper.h
Dunajski, Bartosz d3e583f7f4 Synchronize blit enqueue after barrier call
Change-Id: I0349dc5b1581ecb142bdab881877450366bcdb86
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
2019-10-04 14:56:30 +02:00

39 lines
1.6 KiB
C++

/*
* Copyright (C) 2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "runtime/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
QueueSliceCount::defaultSliceCount, //sliceCount
false, //blocking
false, //dcFlush
false, //useSLM
false, //guardCommandBufferWithPipeControl
false, //gsba32BitRequired
false, //requiresCoherency
false, //lowPriority
false, //implicitFlush
false, //outOfOrderExecutionAllowed
false, //multiEngineQueue
false //epilogueRequired
);
}
};