public class DnnGPUInstruction extends GPUInstruction
GPUInstruction.GPUINSTRUCTION_TYPE
Instruction.IType
_gputype, _optr, _requiresLabelUpdate, MISC_TIMER_ABS_KERNEL, MISC_TIMER_ACOS_KERNEL, MISC_TIMER_ACTIVATION_FORWARD_LIB, MISC_TIMER_ALLOCATE, MISC_TIMER_ALLOCATE_DENSE_OUTPUT, MISC_TIMER_ALLOCATE_SPARSE_OUTPUT, MISC_TIMER_ASIN_KERNEL, MISC_TIMER_ATAN_KERNEL, MISC_TIMER_BIAS_ADD_LIB, MISC_TIMER_CBIND_KERNEL, MISC_TIMER_CEIL_KERNEL, MISC_TIMER_COLUMN_TO_ROW_MAJOR, MISC_TIMER_COMPARE_AND_SET_KERNEL, MISC_TIMER_CONVOLUTION_BACKWARD_DATA_LIB, MISC_TIMER_CONVOLUTION_BACKWARD_FILTER_LIB, MISC_TIMER_CONVOLUTION_FORWARD_LIB, MISC_TIMER_COS_KERNEL, MISC_TIMER_COSH_KERNEL, MISC_TIMER_CUDA_FREE, MISC_TIMER_CUDA_SYNC, MISC_TIMER_CUDNN_CLEANUP, MISC_TIMER_CUDNN_INIT, MISC_TIMER_DAXPY_LIB, MISC_TIMER_DAXPY_MV_KERNEL, MISC_TIMER_DENSE_DGEAM_LIB, MISC_TIMER_DENSE_DOT_LIB, MISC_TIMER_DENSE_IM2COL_KERNEL, MISC_TIMER_DENSE_MATRIX_DENSE_MATRIX_LIB, MISC_TIMER_DENSE_MATRIX_DENSE_VECTOR_LIB, MISC_TIMER_DENSE_REORG_KNPQ_KERNEL, MISC_TIMER_DENSE_TO_SPARSE, MISC_TIMER_DENSE_VECTOR_DENSE_MATRIX_LIB, MISC_TIMER_DEVICE_TO_DEVICE, MISC_TIMER_DEVICE_TO_HOST, MISC_TIMER_EVICT, MISC_TIMER_EXP_KERNEL, MISC_TIMER_FILL_KERNEL, MISC_TIMER_FLOOR_KERNEL, MISC_TIMER_HOST_TO_DEVICE, MISC_TIMER_LOG_KERNEL, MISC_TIMER_MATRIX_MATRIX_CELLWISE_OP_KERNEL, MISC_TIMER_MATRIX_SCALAR_OP_KERNEL, MISC_TIMER_MAXPOOLING_BACKWARD_LIB, MISC_TIMER_MAXPOOLING_FORWARD_LIB, MISC_TIMER_OBJECT_CLONE, MISC_TIMER_ORMQR, MISC_TIMER_QR, MISC_TIMER_QR_BUFFER, MISC_TIMER_RBIND_KERNEL, MISC_TIMER_REDUCE_ALL_KERNEL, MISC_TIMER_REDUCE_COL_KERNEL, MISC_TIMER_REDUCE_ROW_KERNEL, MISC_TIMER_RELU_BACKWARD_KERNEL, MISC_TIMER_RELU_KERNEL, MISC_TIMER_REUSE, MISC_TIMER_RIX_DENSE_OP, MISC_TIMER_RIX_SPARSE_DENSE_OP_NNZ, MISC_TIMER_RIX_SPARSE_DENSE_OP_ROWWISE, MISC_TIMER_ROUND_KERNEL, MISC_TIMER_ROW_TO_COLUMN_MAJOR, MISC_TIMER_SET_ZERO, MISC_TIMER_SIGMOID_KERNEL, MISC_TIMER_SIGN_KERNEL, MISC_TIMER_SIN_KERNEL, MISC_TIMER_SINH_KERNEL, MISC_TIMER_SPARSE_ALLOCATE_LIB, MISC_TIMER_SPARSE_DGEAM_LIB, MISC_TIMER_SPARSE_IM2COL_KERNEL, MISC_TIMER_SPARSE_MATRIX_DENSE_MATRIX_LIB, MISC_TIMER_SPARSE_MATRIX_DENSE_VECTOR_LIB, MISC_TIMER_SPARSE_MATRIX_SPARSE_MATRIX_LIB, MISC_TIMER_SPARSE_TO_DENSE, MISC_TIMER_SQRT_KERNEL, MISC_TIMER_SYRK_LIB, MISC_TIMER_TAN_KERNEL, MISC_TIMER_TANH_KERNEL, MISC_TIMER_TRANSPOSE_LIB, MISC_TIMER_TRSM, MISC_TIMER_UPPER_TO_LOWER_TRIANGLE_KERNEL
beginCol, beginLine, DATATYPE_PREFIX, endCol, endLine, filename, GPU_INST_PREFIX, instOpcode, INSTRUCTION_DELIM, instString, LITERAL_PREFIX, OPERAND_DELIM, SP_INST_PREFIX, VALUETYPE_PREFIX
Constructor and Description |
---|
DnnGPUInstruction(org.apache.sysml.runtime.instructions.cp.CPOperand in1,
org.apache.sysml.runtime.instructions.cp.CPOperand in2,
org.apache.sysml.runtime.instructions.cp.CPOperand in3,
org.apache.sysml.runtime.instructions.cp.CPOperand in4,
org.apache.sysml.runtime.instructions.cp.CPOperand in5,
org.apache.sysml.runtime.instructions.cp.CPOperand in6,
org.apache.sysml.runtime.instructions.cp.CPOperand in7,
org.apache.sysml.runtime.instructions.cp.CPOperand in8,
org.apache.sysml.runtime.instructions.cp.CPOperand out,
org.apache.sysml.runtime.instructions.cp.CPOperand out2,
org.apache.sysml.runtime.instructions.cp.CPOperand out3,
org.apache.sysml.runtime.instructions.cp.CPOperand out4,
org.apache.sysml.runtime.instructions.cp.CPOperand out5,
String opcode,
String istr,
double intermediateMemoryBudget) |
DnnGPUInstruction(org.apache.sysml.runtime.instructions.cp.CPOperand in1,
org.apache.sysml.runtime.instructions.cp.CPOperand in2,
org.apache.sysml.runtime.instructions.cp.CPOperand in3,
org.apache.sysml.runtime.instructions.cp.CPOperand in4,
org.apache.sysml.runtime.instructions.cp.CPOperand in5,
org.apache.sysml.runtime.instructions.cp.CPOperand in6,
org.apache.sysml.runtime.instructions.cp.CPOperand out,
org.apache.sysml.runtime.instructions.cp.CPOperand out2,
String opcode,
String istr,
double intermediateMemoryBudget) |
DnnGPUInstruction(org.apache.sysml.runtime.instructions.cp.CPOperand in,
org.apache.sysml.runtime.instructions.cp.CPOperand in2,
org.apache.sysml.runtime.instructions.cp.CPOperand in3,
org.apache.sysml.runtime.instructions.cp.CPOperand in4,
org.apache.sysml.runtime.instructions.cp.CPOperand in5,
org.apache.sysml.runtime.instructions.cp.CPOperand in6,
org.apache.sysml.runtime.instructions.cp.CPOperand out,
String opcode,
String istr,
double intermediateMemoryBudget) |
DnnGPUInstruction(org.apache.sysml.runtime.instructions.cp.CPOperand in1,
org.apache.sysml.runtime.instructions.cp.CPOperand in2,
org.apache.sysml.runtime.instructions.cp.CPOperand in3,
org.apache.sysml.runtime.instructions.cp.CPOperand in4,
org.apache.sysml.runtime.instructions.cp.CPOperand out,
String opcode,
String istr,
double intermediateMemoryBudget) |
DnnGPUInstruction(org.apache.sysml.runtime.instructions.cp.CPOperand in1,
org.apache.sysml.runtime.instructions.cp.CPOperand in2,
org.apache.sysml.runtime.instructions.cp.CPOperand in3,
org.apache.sysml.runtime.instructions.cp.CPOperand out,
String opcode,
String istr,
ArrayList<org.apache.sysml.runtime.instructions.cp.CPOperand> stride,
ArrayList<org.apache.sysml.runtime.instructions.cp.CPOperand> padding,
ArrayList<org.apache.sysml.runtime.instructions.cp.CPOperand> input_shape,
ArrayList<org.apache.sysml.runtime.instructions.cp.CPOperand> filter_shape,
double intermediateMemoryBudget) |
DnnGPUInstruction(org.apache.sysml.runtime.instructions.cp.CPOperand in1,
org.apache.sysml.runtime.instructions.cp.CPOperand in2,
org.apache.sysml.runtime.instructions.cp.CPOperand in3,
org.apache.sysml.runtime.instructions.cp.CPOperand out,
String opcode,
String istr,
double intermediateMemoryBudget) |
DnnGPUInstruction(org.apache.sysml.runtime.instructions.cp.CPOperand in1,
org.apache.sysml.runtime.instructions.cp.CPOperand in2,
org.apache.sysml.runtime.instructions.cp.CPOperand out,
String opcode,
String istr,
ArrayList<org.apache.sysml.runtime.instructions.cp.CPOperand> stride,
ArrayList<org.apache.sysml.runtime.instructions.cp.CPOperand> padding,
ArrayList<org.apache.sysml.runtime.instructions.cp.CPOperand> input_shape,
ArrayList<org.apache.sysml.runtime.instructions.cp.CPOperand> filter_shape,
double intermediateMemoryBudget) |
DnnGPUInstruction(org.apache.sysml.runtime.instructions.cp.CPOperand in1,
org.apache.sysml.runtime.instructions.cp.CPOperand in2,
org.apache.sysml.runtime.instructions.cp.CPOperand out,
String opcode,
String istr,
double intermediateMemoryBudget) |
Modifier and Type | Method and Description |
---|---|
static DnnGPUInstruction |
parseInstruction(String str) |
void |
processBatchNorm2dBackwardInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec) |
void |
processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
This method should be used to execute the instruction.
|
void |
processReLUBackwardInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec) |
getDenseMatrixOutputForGPUInstruction, getGPUInstructionType, getGraphString, getMatrixInputForGPUInstruction, getType, postprocessInstruction, preprocessInstruction, requiresLabelUpdate
getBeginColumn, getBeginLine, getEndColumn, getEndLine, getExtendedOpcode, getFilename, getInstID, getLineNum, getOpcode, printMe, setInstID, setLocation, setLocation, setLocation, setLocation, toString, updateInstructionThreadID
public DnnGPUInstruction(org.apache.sysml.runtime.instructions.cp.CPOperand in1, org.apache.sysml.runtime.instructions.cp.CPOperand in2, org.apache.sysml.runtime.instructions.cp.CPOperand out, String opcode, String istr, double intermediateMemoryBudget)
public DnnGPUInstruction(org.apache.sysml.runtime.instructions.cp.CPOperand in1, org.apache.sysml.runtime.instructions.cp.CPOperand in2, org.apache.sysml.runtime.instructions.cp.CPOperand in3, org.apache.sysml.runtime.instructions.cp.CPOperand in4, org.apache.sysml.runtime.instructions.cp.CPOperand in5, org.apache.sysml.runtime.instructions.cp.CPOperand in6, org.apache.sysml.runtime.instructions.cp.CPOperand out, org.apache.sysml.runtime.instructions.cp.CPOperand out2, String opcode, String istr, double intermediateMemoryBudget) throws DMLRuntimeException
DMLRuntimeException
public DnnGPUInstruction(org.apache.sysml.runtime.instructions.cp.CPOperand in1, org.apache.sysml.runtime.instructions.cp.CPOperand in2, org.apache.sysml.runtime.instructions.cp.CPOperand in3, org.apache.sysml.runtime.instructions.cp.CPOperand in4, org.apache.sysml.runtime.instructions.cp.CPOperand in5, org.apache.sysml.runtime.instructions.cp.CPOperand in6, org.apache.sysml.runtime.instructions.cp.CPOperand in7, org.apache.sysml.runtime.instructions.cp.CPOperand in8, org.apache.sysml.runtime.instructions.cp.CPOperand out, org.apache.sysml.runtime.instructions.cp.CPOperand out2, org.apache.sysml.runtime.instructions.cp.CPOperand out3, org.apache.sysml.runtime.instructions.cp.CPOperand out4, org.apache.sysml.runtime.instructions.cp.CPOperand out5, String opcode, String istr, double intermediateMemoryBudget) throws DMLRuntimeException
DMLRuntimeException
public DnnGPUInstruction(org.apache.sysml.runtime.instructions.cp.CPOperand in1, org.apache.sysml.runtime.instructions.cp.CPOperand in2, org.apache.sysml.runtime.instructions.cp.CPOperand in3, org.apache.sysml.runtime.instructions.cp.CPOperand out, String opcode, String istr, double intermediateMemoryBudget) throws DMLRuntimeException
DMLRuntimeException
public DnnGPUInstruction(org.apache.sysml.runtime.instructions.cp.CPOperand in1, org.apache.sysml.runtime.instructions.cp.CPOperand in2, org.apache.sysml.runtime.instructions.cp.CPOperand in3, org.apache.sysml.runtime.instructions.cp.CPOperand in4, org.apache.sysml.runtime.instructions.cp.CPOperand out, String opcode, String istr, double intermediateMemoryBudget) throws DMLRuntimeException
DMLRuntimeException
public DnnGPUInstruction(org.apache.sysml.runtime.instructions.cp.CPOperand in1, org.apache.sysml.runtime.instructions.cp.CPOperand in2, org.apache.sysml.runtime.instructions.cp.CPOperand in3, org.apache.sysml.runtime.instructions.cp.CPOperand out, String opcode, String istr, ArrayList<org.apache.sysml.runtime.instructions.cp.CPOperand> stride, ArrayList<org.apache.sysml.runtime.instructions.cp.CPOperand> padding, ArrayList<org.apache.sysml.runtime.instructions.cp.CPOperand> input_shape, ArrayList<org.apache.sysml.runtime.instructions.cp.CPOperand> filter_shape, double intermediateMemoryBudget)
public DnnGPUInstruction(org.apache.sysml.runtime.instructions.cp.CPOperand in1, org.apache.sysml.runtime.instructions.cp.CPOperand in2, org.apache.sysml.runtime.instructions.cp.CPOperand out, String opcode, String istr, ArrayList<org.apache.sysml.runtime.instructions.cp.CPOperand> stride, ArrayList<org.apache.sysml.runtime.instructions.cp.CPOperand> padding, ArrayList<org.apache.sysml.runtime.instructions.cp.CPOperand> input_shape, ArrayList<org.apache.sysml.runtime.instructions.cp.CPOperand> filter_shape, double intermediateMemoryBudget)
public DnnGPUInstruction(org.apache.sysml.runtime.instructions.cp.CPOperand in, org.apache.sysml.runtime.instructions.cp.CPOperand in2, org.apache.sysml.runtime.instructions.cp.CPOperand in3, org.apache.sysml.runtime.instructions.cp.CPOperand in4, org.apache.sysml.runtime.instructions.cp.CPOperand in5, org.apache.sysml.runtime.instructions.cp.CPOperand in6, org.apache.sysml.runtime.instructions.cp.CPOperand out, String opcode, String istr, double intermediateMemoryBudget)
public static DnnGPUInstruction parseInstruction(String str)
public void processBatchNorm2dBackwardInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec) throws DMLRuntimeException
DMLRuntimeException
public void processReLUBackwardInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
public void processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
Instruction
processInstruction
in class GPUInstruction
ec
- execution contextCopyright © 2018 The Apache Software Foundation. All rights reserved.