7 #ifndef PXR_EXEC_VDF_EXECUTOR_H
8 #define PXR_EXEC_VDF_EXECUTOR_H
14 #include "pxr/base/tf/mallocTag.h"
36 template <
typename>
class EngineType,
37 typename DataManagerType>
49 using SpeculationEngineType =
50 typename EngineType<T>::SpeculationExecutorEngine;
86 virtual void _ClearData()
override;
92 static const _Factory _factory;
96 EngineType<DataManagerType> _engine;
101 template <
template <
typename>
class EngineType,
typename DataManagerType>
105 template <
template <
typename>
class EngineType,
typename DataManagerType>
113 if (computeRequest.
IsEmpty()) {
118 TfAutoMallocTag2 tag(
"Ef",
"VdfExecutor::Run");
120 _engine.RunSchedule(schedule, computeRequest, errorLogger);
123 template <
template <
typename>
class EngineType,
typename DataManagerType>
127 Base::_dataManager.Clear();
virtual const VdfExecutorFactoryBase & GetFactory() const overridefinal
#define PXR_NAMESPACE_OPEN_SCOPE
VDF_API bool IsEmpty() const
**But if you need a or simply need to know when the task has note that the like this
Executes a VdfNetwork to compute a requested set of values.
Executor used in speculation.
DataManagerType _dataManager
Contains a specification of how to execute a particular VdfNetwork.
#define PXR_NAMESPACE_CLOSE_SCOPE