9 #ifndef __PDG_PARTITIONER_H__
10 #define __PDG_PARTITIONER_H__
23 class PDG_FeedbackBegin;
46 bool inclusive)
const override;
63 bool did_cook)
override;
69 {
return (myPartitionWhen > eAllInputsCooked); }
110 bool dynamic_inputs)
override;
151 eAllTargetsGenerated,
154 eEachTargetGenerated,
187 bool cacheMergePatterns();
190 void mergePartitionData(
201 bool partitionFromTarget(
209 bool partitionWorkItems(
216 bool partitionWorkItems(
233 void addLoopDependency(
238 void addLoopDependencies(
242 void removeStalePartitions();
249 PartitionMap myPartitionMap;
251 PDG_FeedbackBegin* myFeedbackBegin;
253 LoopDependencies myLoopDependencies;
263 SplitMissing mySplitMissing;
265 PartitionWhen myPartitionWhen;
266 PartitionFrame myPartitionFrame;
270 bool myHasCustomFrame;
271 bool myMergeAttributes;
272 bool myStoreWorkItemIDs;
273 bool myIgnoreFailedItems;
virtual bool cookWorkItem(PDGE_Resolutions &resolutions, PDG_WorkItem *work_item, bool did_cook)
Notifies the node that the specified work item has been cooked.
virtual bool queueWorkItem(PDG_WorkItem *work_item)
virtual PDGE_Dependency::State evalPartial(PDGE_Resolutions &, const PDGE_Evaluator &, PDGE_Dependency *, const Array &)
friend class PDG_Partitioner
virtual bool deserializeWorkItem(PDG_WorkItem *work_item)
virtual void clearAllWorkItems()
virtual void addCommonDeps()
~PDG_Partitioner() override
UT_Optional< fpreal > OptionalFrame
bool isTargetedPartitioner() const
int preCookLoop()
Sets the loop depth and loop block reference on the node.
GLuint const GLchar * name
PDG_AttributeMergeOp
Enumeration of different ways that attributes can be combined.
virtual void addInputDeps(PDG_Node *input_node)
virtual void commitWorkItem(PDG_WorkItem *work_item)
Called after a work item is completely deserialized.
virtual PDGE_Dependency::State evalResolve(PDGE_Resolutions &, const PDGE_Evaluator &, PDGE_Dependency *)
Called when a dependency owned by this object is resolved.
virtual bool cacheBuiltinParms(PDG_NodeSet &dirty, bool dynamic_inputs)
void resetOwner() override
Resets the owner.
virtual void clearWorkItem(PDG_WorkItem *work_item)
virtual void memoryInfo(PDG_MemoryInfo &memory_info, bool inclusive) const
Returns the memory usage as a PDG_MemoryInfo struct.
virtual bool requiresCookedInputs(bool cook) const