Files
compute-runtime/shared/source/command_stream/csr_deps.h
Maciej Plewka 4b42b066f8 Use dedicated using type for TaskCount
Related-To: NEO-7155

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-11-28 16:44:44 +01:00

32 lines
742 B
C++

/*
* Copyright (C) 2020-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/source/command_stream/task_count_helper.h"
#include "shared/source/utilities/stackvec.h"
namespace NEO {
class TimestampPacketContainer;
class CommandStreamReceiver;
class CsrDependencies {
public:
enum class DependenciesType {
OnCsr,
OutOfCsr,
All
};
StackVec<std::pair<TaskCountType, uint64_t>, 32> taskCountContainer;
StackVec<TimestampPacketContainer *, 32> timestampPacketContainer;
void makeResident(CommandStreamReceiver &commandStreamReceiver) const;
void copyNodesToNewContainer(TimestampPacketContainer &newTimestampPacketContainer);
};
} // namespace NEO