Enum Class OperationContext.Hint
- All Implemented Interfaces:
Serializable, Comparable<OperationContext.Hint>, Constable
- Enclosing class:
OperationContext
Hints about the data characteristics.
- Since:
- 1.2
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOperation will be repeated many times (amortize setup)Complex numbers operationDense matrix/vector dataResult must be bit-exact reproducibleSingle-precision is acceptableData fits in GPU memoryHigh precision required (e.g. for RealBig/Complex)Operation is throughput-sensitiveOperation is latency-sensitiveMatrix AdditionCholesky DecompositionMatrix DeterminantMatrix Division / SolveEigen decomposition hintMatrix InversionLU DecompositionMatrix MultiplicationQR DecompositionMatrix ScalingMatrix/Vector SolveMatrix SubtractionSVD DecompositionMatrix trace hintMatrix TransposeSparse matrix/vector data -
Method Summary
Modifier and TypeMethodDescriptionstatic OperationContext.HintReturns the enum constant of this class with the specified name.static OperationContext.Hint[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DENSE
Dense matrix/vector data -
SPARSE
Sparse matrix/vector data -
GPU_RESIDENT
Data fits in GPU memory -
LOW_LATENCY
Operation is latency-sensitive -
HIGH_THROUGHPUT
Operation is throughput-sensitive -
DETERMINISTIC
Result must be bit-exact reproducible -
FLOAT32_OK
Single-precision is acceptable -
BATCH
Operation will be repeated many times (amortize setup) -
MAT_MUL
Matrix Multiplication -
MAT_DIV
Matrix Division / Solve -
MAT_INV
Matrix Inversion -
MAT_DET
Matrix Determinant -
MAT_SOLVE
Matrix/Vector Solve -
MAT_TRANSPOSE
Matrix Transpose -
MAT_SCALE
Matrix Scaling -
MAT_ADD
Matrix Addition -
MAT_SUBTRACT
Matrix Subtraction -
MAT_QR
QR Decomposition -
MAT_SVD
SVD Decomposition -
MAT_CHOLESKY
Cholesky Decomposition -
MAT_LU
LU Decomposition -
MAT_EIGEN
Eigen decomposition hint -
MAT_TRACE
Matrix trace hint -
HIGH_PRECISION
High precision required (e.g. for RealBig/Complex) -
COMPLEX
Complex numbers operation
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-