Files
compute-runtime/shared/source/command_stream/csr_deps.h
Compute-Runtime-Validation 8342c0ae2f Revert "fix: add cache flush as dependency for bcs ccs synchronization"
This reverts commit 5e57bb2a32.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-05-01 03:05:47 +02:00

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