Files
compute-runtime/shared/source/direct_submission/dispatchers/dispatcher.h
Zbigniew Zdanowicz 49d3c39fae Refactor direct submission
Related-To: NEO-4338

Change-Id: Ic858a9324e5f892532d39c98a4029df9d2a64e46
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-03-27 12:43:05 +01:00

30 lines
682 B
C++

/*
* Copyright (C) 2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <cstddef>
#include <cstdint>
namespace NEO {
struct HardwareInfo;
class LinearStream;
template <typename GfxFamily>
class Dispatcher {
public:
static void dispatchStartCommandBuffer(LinearStream &cmdBuffer, uint64_t gpuStartAddress);
static size_t getSizeStartCommandBuffer();
static void dispatchStopCommandBuffer(LinearStream &cmdBuffer);
static size_t getSizeStopCommandBuffer();
static void dispatchStoreDwordCommand(LinearStream &cmdBuffer, uint64_t gpuVa, uint32_t value);
static size_t getSizeStoreDwordCommand();
};
} // namespace NEO