Package org.apache.sysds.lops
Class OperatorOrderingUtils
- java.lang.Object
 - 
- org.apache.sysds.lops.OperatorOrderingUtils
 
 
- 
public class OperatorOrderingUtils extends Object
 
- 
- 
Constructor Summary
Constructors Constructor Description OperatorOrderingUtils() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intcollectGPURoots(Lop root, Map<Long,Integer> gpuOpCount, HashSet<Lop> gpuRoots)static intcollectSparkRoots(Lop root, Map<Long,Integer> sparkOpCount, HashSet<Lop> sparkRoots)static ArrayList<Lop>getLopList(StatementBlock sb)static booleanisCollectForBroadcast(Lop lop)static booleanisLopRoot(Lop lop)static booleanisPersistableSparkOp(Lop lop)static voidmarkSharedSparkOps(HashSet<Lop> sparkRoots, Map<Long,Integer> operatorJobCount) 
 - 
 
- 
- 
Method Detail
- 
getLopList
public static ArrayList<Lop> getLopList(StatementBlock sb)
 
- 
isLopRoot
public static boolean isLopRoot(Lop lop)
 
- 
collectSparkRoots
public static int collectSparkRoots(Lop root, Map<Long,Integer> sparkOpCount, HashSet<Lop> sparkRoots)
 
- 
collectGPURoots
public static int collectGPURoots(Lop root, Map<Long,Integer> gpuOpCount, HashSet<Lop> gpuRoots)
 
- 
isPersistableSparkOp
public static boolean isPersistableSparkOp(Lop lop)
 
- 
isCollectForBroadcast
public static boolean isCollectForBroadcast(Lop lop)
 
 - 
 
 -