mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
- Program dependencies from Event and IOQ - Obtain new TimestampPacket - Update output TimestampPacket if needed Change-Id: I4ad020f5c5b05ceca8b096fafe1257523e2bc343 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com> Related-To: NEO-3020
24 lines
744 B
C++
24 lines
744 B
C++
/*
|
|
* Copyright (C) 2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include <cstdint>
|
|
|
|
namespace NEO {
|
|
class Buffer;
|
|
class GraphicsAllocation;
|
|
class LinearStream;
|
|
|
|
template <typename GfxFamily>
|
|
struct BlitCommandsHelper {
|
|
static size_t estimateBlitCommandsSize(uint64_t copySize, CsrDependencies &csrDependencies, bool updateTimestampPacket);
|
|
static void dispatchBlitCommandsForBuffer(Buffer &dstBuffer, Buffer &srcBuffer, LinearStream &linearStream,
|
|
uint64_t dstOffset, uint64_t srcOffset, uint64_t copySize);
|
|
static void appendBlitCommandsForBuffer(Buffer &dstBuffer, Buffer &srcBuffer, typename GfxFamily::XY_COPY_BLT &blitCmd);
|
|
};
|
|
} // namespace NEO
|