mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Dates corrected in copyright headers to reflect original publication date (2018 for OpenCL, 2020 for Level Zero). Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
30 lines
588 B
C++
30 lines
588 B
C++
/*
|
|
* Copyright (C) 2020-2021 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<std::pair<uint32_t, uint64_t>, 32> taskCountContainer;
|
|
StackVec<TimestampPacketContainer *, 32> timestampPacketContainer;
|
|
|
|
void makeResident(CommandStreamReceiver &commandStreamReceiver) const;
|
|
};
|
|
} // namespace NEO
|