mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 16:24:18 +08:00
Cleaned up files: opencl/source/api/api.h shared/source/command_stream/csr_deps.h shared/source/helpers/engine_node_helper.h Related-To: NEO-5548 Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
32 lines
790 B
C++
32 lines
790 B
C++
/*
|
|
* Copyright (C) 2020-2023 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/source/utilities/stackvec.h"
|
|
|
|
namespace NEO {
|
|
|
|
class TimestampPacketContainer;
|
|
class CommandStreamReceiver;
|
|
|
|
class CsrDependencies {
|
|
public:
|
|
enum class DependenciesType {
|
|
OnCsr,
|
|
OutOfCsr,
|
|
All
|
|
};
|
|
|
|
StackVec<TimestampPacketContainer *, 32> multiRootTimeStampSyncContainer;
|
|
StackVec<TimestampPacketContainer *, 32> timestampPacketContainer;
|
|
|
|
void makeResident(CommandStreamReceiver &commandStreamReceiver) const;
|
|
void copyNodesToNewContainer(TimestampPacketContainer &newTimestampPacketContainer);
|
|
void copyRootDeviceSyncNodesToNewContainer(TimestampPacketContainer &newTimestampPacketContainer);
|
|
};
|
|
} // namespace NEO
|