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

Related-To: NEO-3677 Change-Id: If2e876028b765ad3ecf5f75db8755623b82955b8 Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
31 lines
668 B
C++
31 lines
668 B
C++
/*
|
|
* Copyright (C) 2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "core/utilities/stackvec.h"
|
|
|
|
namespace NEO {
|
|
|
|
class TimestampPacketContainer;
|
|
class CommandStreamReceiver;
|
|
struct EventsRequest;
|
|
|
|
class CsrDependencies : public StackVec<TimestampPacketContainer *, 32> {
|
|
public:
|
|
enum class DependenciesType {
|
|
OnCsr,
|
|
OutOfCsr,
|
|
All
|
|
};
|
|
|
|
void fillFromEventsRequest(const EventsRequest &eventsRequest, CommandStreamReceiver ¤tCsr,
|
|
DependenciesType depsType);
|
|
|
|
void makeResident(CommandStreamReceiver &commandStreamReceiver) const;
|
|
};
|
|
} // namespace NEO
|