Package org.apache.sysds.runtime.codegen
Class SpoofCUDACellwise
java.lang.Object
org.apache.sysds.runtime.codegen.SpoofOperator
org.apache.sysds.runtime.codegen.SpoofCellwise
org.apache.sysds.runtime.codegen.SpoofCUDACellwise
- All Implemented Interfaces:
Serializable,SpoofCUDAOperator
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sysds.runtime.codegen.SpoofCellwise
SpoofCellwise.AggOp, SpoofCellwise.CellTypeNested classes/interfaces inherited from class org.apache.sysds.runtime.codegen.SpoofOperator
SpoofOperator.SideInput, SpoofOperator.SideInputSparseCell, SpoofOperator.SideInputSparseRowNested classes/interfaces inherited from interface org.apache.sysds.runtime.codegen.SpoofCUDAOperator
SpoofCUDAOperator.PrecisionProxy -
Field Summary
Fields inherited from interface org.apache.sysds.runtime.codegen.SpoofCUDAOperator
JNI_MAT_ENTRY_SIZE, TRANSFERRED_DATA_HEADER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionSpoofCUDACellwise(SpoofCellwise.CellType type, boolean sparseSafe, boolean containsSeq, SpoofCellwise.AggOp aggOp, int id, SpoofCUDAOperator.PrecisionProxy ep, SpoofCellwise fallback) -
Method Summary
Modifier and TypeMethodDescriptionexecute(ExecutionContext ec, ArrayList<MatrixObject> inputs, ArrayList<ScalarObject> scalarObjects) execute(ExecutionContext ec, ArrayList<MatrixObject> inputs, ArrayList<ScalarObject> scalarObjects, String outputName) static intexecute_d(long ctx) intexecute_dp(long ctx) static intexecute_f(long ctx) intexecute_sp(long ctx) longgetName()Methods inherited from class org.apache.sysds.runtime.codegen.SpoofCellwise
containsSeq, createCUDAInstrcution, execute, execute, execute, execute, execute, getAggOp, getCellType, getSpoofType, isSparseSafeMethods inherited from class org.apache.sysds.runtime.codegen.SpoofOperator
execute, getDenseMatrices, getNativeStagingBuffer, getTotalInputNnz, getTotalInputSizeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.sysds.runtime.codegen.SpoofCUDAOperator
packDataForTransfer, prepareMatrixPointers, writeMatrixDescriptorToBuffer
-
Constructor Details
-
SpoofCUDACellwise
public SpoofCUDACellwise(SpoofCellwise.CellType type, boolean sparseSafe, boolean containsSeq, SpoofCellwise.AggOp aggOp, int id, SpoofCUDAOperator.PrecisionProxy ep, SpoofCellwise fallback)
-
-
Method Details
-
execute
public ScalarObject execute(ExecutionContext ec, ArrayList<MatrixObject> inputs, ArrayList<ScalarObject> scalarObjects) - Specified by:
executein interfaceSpoofCUDAOperator
-
getName
- Specified by:
getNamein interfaceSpoofCUDAOperator
-
execute
public MatrixObject execute(ExecutionContext ec, ArrayList<MatrixObject> inputs, ArrayList<ScalarObject> scalarObjects, String outputName) - Specified by:
executein interfaceSpoofCUDAOperator
-
execute_dp
public int execute_dp(long ctx) - Specified by:
execute_dpin interfaceSpoofCUDAOperator
-
execute_sp
public int execute_sp(long ctx) - Specified by:
execute_spin interfaceSpoofCUDAOperator
-
getContext
public long getContext()- Specified by:
getContextin interfaceSpoofCUDAOperator
-
execute_d
public static int execute_d(long ctx) -
execute_f
public static int execute_f(long ctx)
-