mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Related-To: NEO-4338 Change-Id: Ic858a9324e5f892532d39c98a4029df9d2a64e46 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
30 lines
682 B
C++
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
|