mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 04:12:57 +08:00
This reverts commit 5e57bb2a32.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
32 lines
790 B
C++
32 lines
790 B
C++
/*
|
|
* Copyright (C) 2020-2024 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
|