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
|