## Uses of Class
org.apache.sysds.runtime.DMLRuntimeException

- Packages that use DMLRuntimeException
  Package | Description
  --- | ---
  org.apache.sysds.api |
  org.apache.sysds.parser |
  org.apache.sysds.runtime |
  org.apache.sysds.runtime.compress |
  org.apache.sysds.runtime.controlprogram.parfor.util |
  org.apache.sysds.runtime.instructions.cp |
  org.apache.sysds.runtime.instructions.gpu |
  org.apache.sysds.runtime.instructions.gpu.context |
  org.apache.sysds.runtime.instructions.spark.data |
  org.apache.sysds.runtime.io |
  org.apache.sysds.runtime.io.hdf5 |
  org.apache.sysds.runtime.iogen |
  org.apache.sysds.runtime.matrix.data |
  org.apache.sysds.runtime.privacy |
  org.apache.sysds.runtime.util |
  org.apache.sysds.utils |

- - ### Uses of DMLRuntimeException in org.apache.sysds.api

    Methods in org.apache.sysds.api that throw DMLRuntimeException
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | DMLScript.`initHadoopExecution​(DMLConfig config)` |

  - ### Uses of DMLRuntimeException in org.apache.sysds.parser

    Methods in org.apache.sysds.parser that throw DMLRuntimeException
    Modifier and Type | Method | Description
    --- | --- | ---
    `Program` | DMLTranslator.`getRuntimeProgram​(DMLProgram prog, DMLConfig config)` |

  - ### Uses of DMLRuntimeException in org.apache.sysds.runtime

    Subclasses of DMLRuntimeException in org.apache.sysds.runtime
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `DMLScriptException` | This exception should be thrown to flag DML Script errors.

  - ### Uses of DMLRuntimeException in org.apache.sysds.runtime.compress

    Subclasses of DMLRuntimeException in org.apache.sysds.runtime.compress
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `DMLCompressionException` |

  - ### Uses of DMLRuntimeException in org.apache.sysds.runtime.controlprogram.parfor.util

    Methods in org.apache.sysds.runtime.controlprogram.parfor.util that throw DMLRuntimeException
    Modifier and Type | Method | Description
    --- | --- | ---
    `static MatrixBlock` | StagingFileUtils.`readCellList2BlockFromLocal​(String fname, int blen)` |
    `static MatrixBlock` | StagingFileUtils.`readCellList2BlockFromLocal​(String fname, int blen, boolean sparse)` |

  - ### Uses of DMLRuntimeException in org.apache.sysds.runtime.instructions.cp

    Constructors in org.apache.sysds.runtime.instructions.cp that throw DMLRuntimeException
    Constructor | Description
    --- | ---
    `DnnCPInstruction​(CPOperand in1, CPOperand in2, CPOperand in3, CPOperand in4, CPOperand in5, CPOperand in6, CPOperand in7, CPOperand in8, CPOperand out, CPOperand out2, CPOperand out3, CPOperand out4, CPOperand out5, String opcode, String istr, double intermediateMemoryBudget)` |

  - ### Uses of DMLRuntimeException in org.apache.sysds.runtime.instructions.gpu

    Methods in org.apache.sysds.runtime.instructions.gpu that throw DMLRuntimeException
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | DnnGPUInstruction.`processBatchNorm2dBackwardInstruction​(ExecutionContext ec)` |

    Constructors in org.apache.sysds.runtime.instructions.gpu that throw DMLRuntimeException
    Constructor | Description
    --- | ---
    `DnnGPUInstruction​(CPOperand in1, CPOperand in2, CPOperand in3, CPOperand out, String opcode, String istr, double intermediateMemoryBudget)` |
    `DnnGPUInstruction​(CPOperand in1, CPOperand in2, CPOperand in3, CPOperand in4, CPOperand out, String opcode, String istr, double intermediateMemoryBudget)` |
    `DnnGPUInstruction​(CPOperand in1, CPOperand in2, CPOperand in3, CPOperand in4, CPOperand in5, CPOperand in6, CPOperand out, CPOperand out2, String opcode, String istr, double intermediateMemoryBudget)` |
    `DnnGPUInstruction​(CPOperand in1, CPOperand in2, CPOperand in3, CPOperand in4, CPOperand in5, CPOperand in6, CPOperand in7, CPOperand in8, CPOperand out, CPOperand out2, CPOperand out3, CPOperand out4, CPOperand out5, String opcode, String istr, double intermediateMemoryBudget)` |

  - ### Uses of DMLRuntimeException in org.apache.sysds.runtime.instructions.gpu.context

    Methods in org.apache.sysds.runtime.instructions.gpu.context that throw DMLRuntimeException
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | GPUObject.`clearData​(String opcode, boolean eager)` | Clears the data associated with this `GPUObject` instance
    `MatrixBlock` | GPUObject.`evictFromDeviceToHostMB​(String instName, boolean eagerDelete)` |
    `void` | GPUMemoryManager.`free​(String opcode, jcuda.Pointer toFree, boolean eager)` | Deallocate the pointer
    `jcuda.Pointer` | GPULazyCudaFreeMemoryManager.`getRmvarPointerMinSize​(String opcode, long minSize)` |

  - ### Uses of DMLRuntimeException in org.apache.sysds.runtime.instructions.spark.data

    Methods in org.apache.sysds.runtime.instructions.spark.data that throw DMLRuntimeException
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | FrameReblockBuffer.`flushBufferToBinaryBlocks​(ArrayList<Pair<Long,​FrameBlock>> outList)` |
    `List<IndexedMatrixValue>` | ReblockBuffer.`flushBufferToBinaryBlocks()` |

  - ### Uses of DMLRuntimeException in org.apache.sysds.runtime.io

    Methods in org.apache.sysds.runtime.io that throw DMLRuntimeException
    Modifier and Type | Method | Description
    --- | --- | ---
    `static MatrixBlock` | ReaderHDF5.`computeHDF5Size​(List<org.apache.hadoop.fs.Path> files, org.apache.hadoop.fs.FileSystem fs, String datasetName)` |
    `String[]` | FrameReader.`getDefColNames​(long clen)` |
    `Types.ValueType[]` | FrameReader.`getDefSchema​(long clen)` |
    `static FileFormatPropertiesMM` | IOUtilFunctions.`readAndParseMatrixMarketHeader​(String filename)` |
    `FrameBlock` | FrameReader.`readFrameFromHDFS​(String fname, long rlen, long clen)` |
    `FrameBlock` | FrameReader.`readFrameFromHDFS​(String fname, Types.ValueType[] schema, long rlen, long clen)` |
    `abstract FrameBlock` | FrameReader.`readFrameFromHDFS​(String fname, Types.ValueType[] schema, String[] names, long rlen, long clen)` |
    `FrameBlock` | FrameReaderBinaryBlock.`readFrameFromHDFS​(String fname, Types.ValueType[] schema, String[] names, long rlen, long clen)` |
    `FrameBlock` | FrameReaderJSONL.`readFrameFromHDFS​(String fname, Types.ValueType[] schema, Map<String,​Integer> schemaMap, long rlen, long clen)` |
    `FrameBlock` | FrameReaderTextCell.`readFrameFromHDFS​(String fname, Types.ValueType[] schema, String[] names, long rlen, long clen)` |
    `FrameBlock` | FrameReaderTextCSV.`readFrameFromHDFS​(String fname, Types.ValueType[] schema, String[] names, long rlen, long clen)` |
    `FrameBlock` | FrameReader.`readFrameFromInputStream​(InputStream is, long rlen, long clen)` |
    `FrameBlock` | FrameReader.`readFrameFromInputStream​(InputStream is, Types.ValueType[] schema, long rlen, long clen)` |
    `abstract FrameBlock` | FrameReader.`readFrameFromInputStream​(InputStream is, Types.ValueType[] schema, String[] names, long rlen, long clen)` |
    `FrameBlock` | FrameReaderBinaryBlock.`readFrameFromInputStream​(InputStream is, Types.ValueType[] schema, String[] names, long rlen, long clen)` |
    `FrameBlock` | FrameReaderTextCell.`readFrameFromInputStream​(InputStream is, Types.ValueType[] schema, String[] names, long rlen, long clen)` |
    `FrameBlock` | FrameReaderTextCSV.`readFrameFromInputStream​(InputStream is, Types.ValueType[] schema, String[] names, long rlen, long clen)` |
    `ArrayList<IndexedMatrixValue>` | ReaderBinaryBlock.`readIndexedMatrixBlocksFromHDFS​(String fname, long rlen, long clen, int blen)` |
    `static ListObject` | ListReader.`readListFromHDFS​(String fname, String fmtStr, FileFormatProperties props)` | Reads a list object and all contained objects from a folder with related meta data.
    `abstract MatrixBlock` | MatrixReader.`readMatrixFromHDFS​(String fname, long rlen, long clen, int blen, long estnnz)` |
    `MatrixBlock` | ReaderBinaryBlock.`readMatrixFromHDFS​(String fname, long rlen, long clen, int blen, long estnnz)` |
    `MatrixBlock` | ReaderBinaryBlockParallel.`readMatrixFromHDFS​(String fname, long rlen, long clen, int blen, long estnnz)` |
    `MatrixBlock` | ReaderHDF5.`readMatrixFromHDFS​(String fname, long rlen, long clen, int blen, long estnnz)` |
    `MatrixBlock` | ReaderHDF5Parallel.`readMatrixFromHDFS​(String fname, long rlen, long clen, int blen, long estnnz)` |
    `MatrixBlock` | ReaderTextCell.`readMatrixFromHDFS​(String fname, long rlen, long clen, int blen, long estnnz)` |
    `MatrixBlock` | ReaderTextCSV.`readMatrixFromHDFS​(String fname, long rlen, long clen, int blen, long estnnz)` |
    `MatrixBlock` | ReaderTextCSVParallel.`readMatrixFromHDFS​(String fname, long rlen, long clen, int blen, long estnnz)` |
    `MatrixBlock` | ReaderTextLIBSVM.`readMatrixFromHDFS​(String fname, long rlen, long clen, int blen, long estnnz)` |
    `MatrixBlock` | ReaderTextLIBSVMParallel.`readMatrixFromHDFS​(String fname, long rlen, long clen, int blen, long estnnz)` |
    `abstract MatrixBlock` | MatrixReader.`readMatrixFromInputStream​(InputStream is, long rlen, long clen, int blen, long estnnz)` |
    `MatrixBlock` | ReaderBinaryBlock.`readMatrixFromInputStream​(InputStream is, long rlen, long clen, int blen, long estnnz)` |
    `MatrixBlock` | ReaderHDF5.`readMatrixFromInputStream​(InputStream is, long rlen, long clen, int blen, long estnnz)` |
    `MatrixBlock` | ReaderHDF5Parallel.`readMatrixFromInputStream​(InputStream is, long rlen, long clen, int blen, long estnnz)` |
    `MatrixBlock` | ReaderTextCell.`readMatrixFromInputStream​(InputStream is, long rlen, long clen, int blen, long estnnz)` |
    `MatrixBlock` | ReaderTextCSV.`readMatrixFromInputStream​(InputStream is, long rlen, long clen, int blen, long estnnz)` |
    `MatrixBlock` | ReaderTextCSVParallel.`readMatrixFromInputStream​(InputStream is, long rlen, long clen, int blen, long estnnz)` |
    `MatrixBlock` | ReaderTextLIBSVM.`readMatrixFromInputStream​(InputStream is, long rlen, long clen, int blen, long estnnz)` |
    `MatrixBlock` | ReaderTextLIBSVMParallel.`readMatrixFromInputStream​(InputStream is, long rlen, long clen, int blen, long estnnz)` |
    `abstract TensorBlock` | TensorReader.`readTensorFromHDFS​(String fname, long[] dims, int blen, Types.ValueType[] schema)` |
    `TensorBlock` | TensorReaderBinaryBlock.`readTensorFromHDFS​(String fname, long[] dims, int blen, Types.ValueType[] schema)` |
    `TensorBlock` | TensorReaderTextCell.`readTensorFromHDFS​(String fname, long[] dims, int blen, Types.ValueType[] schema)` |
    `void` | WriterBinaryBlock.`writeEmptyMatrixToHDFS​(String fname, long rlen, long clen, int blen)` |
    `void` | WriterHDF5.`writeEmptyMatrixToHDFS​(String fname, long rlen, long clen, int blen)` |
    `void` | WriterMatrixMarket.`writeEmptyMatrixToHDFS​(String fname, long rlen, long clen, int blen)` |
    `void` | WriterTextCell.`writeEmptyMatrixToHDFS​(String fname, long rlen, long clen, int blen)` |
    `void` | WriterTextCSV.`writeEmptyMatrixToHDFS​(String fname, long rlen, long clen, int blen)` |
    `void` | WriterTextLIBSVM.`writeEmptyMatrixToHDFS​(String fname, long rlen, long clen, int blen)` |
    `abstract void` | FrameWriter.`writeFrameToHDFS​(FrameBlock src, String fname, long rlen, long clen)` |
    `void` | FrameWriterBinaryBlock.`writeFrameToHDFS​(FrameBlock src, String fname, long rlen, long clen)` |
    `void` | FrameWriterJSONL.`writeFrameToHDFS​(FrameBlock src, String fname, Map<String,​Integer> schemaMap, long rlen, long clen)` |
    `void` | FrameWriterTextCell.`writeFrameToHDFS​(FrameBlock src, String fname, long rlen, long clen)` |
    `void` | FrameWriterTextCSV.`writeFrameToHDFS​(FrameBlock src, String fname, long rlen, long clen)` |
    `void` | WriterHDF5Parallel.`writeHDF5MatrixToHDFS​(org.apache.hadoop.fs.Path path, org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.fs.FileSystem fs, MatrixBlock src)` |
    `static void` | ListWriter.`writeListToHDFS​(ListObject lo, String fname, String fmtStr, FileFormatProperties props)` | Writes a list object and all contained objects to a folder with related meta data.
    `void` | WriterBinaryBlock.`writeMatrixToHDFS​(MatrixBlock src, String fname, long rlen, long clen, int blen, long nnz, boolean diag)` |
    `void` | WriterHDF5.`writeMatrixToHDFS​(MatrixBlock src, String fname, long rlen, long clen, int blen, long nnz, boolean diag)` |
    `void` | WriterMatrixMarket.`writeMatrixToHDFS​(MatrixBlock src, String fname, long rlen, long clen, int blen, long nnz, boolean diag)` |
    `void` | WriterTextCell.`writeMatrixToHDFS​(MatrixBlock src, String fname, long rlen, long clen, int blen, long nnz, boolean diag)` |
    `void` | WriterTextCSV.`writeMatrixToHDFS​(MatrixBlock src, String fname, long rlen, long clen, int blen, long nnz, boolean diag)` |
    `void` | WriterTextLIBSVM.`writeMatrixToHDFS​(MatrixBlock src, String fname, long rlen, long clen, int blen, long nnz, boolean diag)` |

  - ### Uses of DMLRuntimeException in org.apache.sysds.runtime.io.hdf5

    Subclasses of DMLRuntimeException in org.apache.sysds.runtime.io.hdf5
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `H5RuntimeException` |

  - ### Uses of DMLRuntimeException in org.apache.sysds.runtime.iogen

    Methods in org.apache.sysds.runtime.iogen that throw DMLRuntimeException
    Modifier and Type | Method | Description
    --- | --- | ---
    `FrameBlock` | FrameGenerateReader.`readFrameFromHDFS​(String fname, Types.ValueType[] schema, String[] names, long rlen, long clen)` |
    `FrameBlock` | FrameGenerateReader.`readFrameFromInputStream​(InputStream is, Types.ValueType[] schema, String[] names, long rlen, long clen)` |
    `MatrixBlock` | MatrixGenerateReader.`readMatrixFromHDFS​(String fname, long rlen, long clen, int blen, long estnnz)` |
    `MatrixBlock` | MatrixGenerateReader.`readMatrixFromInputStream​(InputStream is, long rlen, long clen, int blen, long estnnz)` |

  - ### Uses of DMLRuntimeException in org.apache.sysds.runtime.matrix.data

    Methods in org.apache.sysds.runtime.matrix.data that throw DMLRuntimeException
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | LibMatrixCuDNN.`batchNormalizationBackward​(GPUContext gCtx, String instName, MatrixObject image, MatrixObject dout, MatrixObject scale, MatrixObject dX, MatrixObject dScale, MatrixObject dBias, double epsilon, MatrixObject resultSaveMean, MatrixObject resultSaveInvVariance)` | This method computes the backpropagation errors for image, scale and bias of batch normalization layer
    `static void` | LibMatrixCuDNN.`batchNormalizationForwardInference​(GPUContext gCtx, String instName, MatrixObject image, MatrixObject scale, MatrixObject bias, MatrixObject runningMean, MatrixObject runningVar, MatrixObject ret, double epsilon)` | Performs the forward BatchNormalization layer computation for inference
    `static void` | LibMatrixCuDNN.`batchNormalizationForwardTraining​(GPUContext gCtx, String instName, MatrixObject image, MatrixObject scale, MatrixObject bias, MatrixObject runningMean, MatrixObject runningVar, MatrixObject ret, MatrixObject retRunningMean, MatrixObject retRunningVar, double epsilon, double exponentialAverageFactor, MatrixObject resultSaveMean, MatrixObject resultSaveInvVariance)` | Performs the forward BatchNormalization layer computation for training
    `static void` | LibMatrixCUDA.`denseTranspose​(ExecutionContext ec, GPUContext gCtx, String instName, jcuda.Pointer A, jcuda.Pointer C, long numRowsA, long numColsA)` | Computes C = t(A)
    `static JCudaKernels` | LibMatrixCUDA.`getCudaKernels​(GPUContext gCtx)` |
    `static jcuda.Pointer` | LibMatrixCUDA.`getDensePointer​(GPUContext gCtx, MatrixObject input, String instName)` | Convenience method to get jcudaDenseMatrixPtr.
    `static jcuda.Pointer` | LibMatrixCuDNN.`getDensePointerForCuDNN​(GPUContext gCtx, MatrixObject image, String instName, int numRows, int numCols)` | Convenience method to get jcudaDenseMatrixPtr.
    `static void` | LibMatrixCuDNN.`lstm​(ExecutionContext ec, GPUContext gCtx, String instName, jcuda.Pointer X, jcuda.Pointer wPointer, jcuda.Pointer out0, jcuda.Pointer c0, boolean return_sequences, String outputName, String cyName, int N, int M, int D, int T)` | Computes the forward pass for an LSTM layer with M neurons.
    `static void` | LibMatrixCuDNN.`lstmBackward​(ExecutionContext ec, GPUContext gCtx, String instName, jcuda.Pointer x, jcuda.Pointer hx, jcuda.Pointer cx, jcuda.Pointer wPointer, String doutName, String dcyName, String dxName, String dwName, String dbName, String dhxName, String dcxName, boolean return_sequences, int N, int M, int D, int T)` |

    Constructors in org.apache.sysds.runtime.matrix.data that throw DMLRuntimeException
    Constructor | Description
    --- | ---
    `LibMatrixCuDNNRnnAlgorithm​(ExecutionContext ec, GPUContext gCtx, String instName, String rnnMode, int N, int T, int M, int D, boolean isTraining, jcuda.Pointer w)` |

  - ### Uses of DMLRuntimeException in org.apache.sysds.runtime.privacy

    Subclasses of DMLRuntimeException in org.apache.sysds.runtime.privacy
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `DMLPrivacyException` | This exception should be thrown to flag DML runtime errors related to the violation of privacy constraints.

  - ### Uses of DMLRuntimeException in org.apache.sysds.runtime.util

    Methods in org.apache.sysds.runtime.util that throw DMLRuntimeException
    Modifier and Type | Method | Description
    --- | --- | ---
    `static String` | HDFSTool.`metaDataToString​(Types.ValueType vt, Types.ValueType[] schema, Types.DataType dt, DataCharacteristics dc, Types.FileFormat fmt, FileFormatProperties formatProperties, PrivacyConstraint privacyConstraint)` |
    `static double[]` | HDFSTool.`readColumnVectorFromHDFS​(String dir, Types.FileFormat fmt, long rlen, long clen, int blen)` |
    `static double[][]` | HDFSTool.`readMatrixFromHDFS​(String dir, Types.FileFormat fmt, long rlen, long clen, int blen)` |

  - ### Uses of DMLRuntimeException in org.apache.sysds.utils

    Methods in org.apache.sysds.utils that throw DMLRuntimeException
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | InstallDependencyForIntegrationTests.`main​(String[] args)` |