Package com.github.fabianmurariu.unsafe
Class GRBCORE
- java.lang.Object
-
- com.github.fabianmurariu.unsafe.GRBCORE
-
public final class GRBCORE extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intGrB_COMPstatic intGrB_DIMENSION_MISMATCHstatic intGrB_DOMAIN_MISMATCHstatic intGrB_INDEX_OUT_OF_BOUNDSstatic intGrB_INP0static intGrB_INP1static intGrB_INSUFFICIENT_SPACEstatic intGrB_INVALID_INDEXstatic intGrB_INVALID_OBJECTstatic intGrB_INVALID_VALUEstatic intGrB_MASKstatic intGrB_NO_VALUEstatic intGrB_NULL_POINTERstatic intGrB_OUT_OF_MEMORYstatic intGrB_OUTPstatic intGrB_OUTPUT_NOT_EMPTYstatic intGrB_PANICstatic intGrB_REPLACEstatic intGrB_STRUCTUREstatic intGrB_SUCCESSstatic intGrB_TRANstatic intGrB_UNINITIALIZED_OBJECTstatic intGxB_AxB_DOTstatic intGxB_AxB_GUSTAVSONstatic intGxB_AxB_HASHstatic intGxB_AxB_HEAPstatic intGxB_AxB_METHODstatic intGxB_AxB_SAXPYstatic longGxB_BACKWARDSstatic intGxB_DEFAULTstatic intGxB_DESCRIPTOR_CHUNKstatic intGxB_DESCRIPTOR_NTHREADSstatic longGxB_RANGEstatic longGxB_STRIDE
-
Constructor Summary
Constructors Constructor Description GRBCORE()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longclearMatrix(java.nio.Buffer mat)static longclearVec(java.nio.Buffer vec)static java.nio.BuffercreateDescriptor()static java.nio.BuffercreateMatrix(java.nio.Buffer tpe, long rows, long cols)static java.nio.BuffercreateSemiring(java.nio.Buffer monoidAdd, java.nio.Buffer binOpMul)static java.nio.BuffercreateVector(java.nio.Buffer tpe, long size)static java.nio.BufferdupMatrix(java.nio.Buffer mat)static java.nio.BufferdupVector(java.nio.Buffer vec)static longfreeDescriptor(java.nio.Buffer desc)static longfreeMatrix(java.nio.Buffer mat)static longfreeMonoid(java.nio.Buffer monoid)static longfreeSemiring(java.nio.Buffer semiring)static longfreeVector(java.nio.Buffer vec)static intgetDescriptorValue(java.nio.Buffer desc, int field)static intgetFormat(java.nio.Buffer mat)static doublegetHyperRatio(java.nio.Buffer mat)static longgrbFinalize()static longgrbWait()static longinitNonBlocking()static longmakeCSC(java.nio.Buffer mat)static longmakeCSR(java.nio.Buffer mat)static longmatrixApply(java.nio.Buffer outMat, java.nio.Buffer mask, java.nio.Buffer accum, java.nio.Buffer op, java.nio.Buffer firstInput, java.nio.Buffer desc)static longmatrixWait(java.nio.Buffer mat)static longncols(java.nio.Buffer mat)static longneverHyper(java.nio.Buffer mat)static longnrows(java.nio.Buffer mat)static longnvalsMatrix(java.nio.Buffer mat)static longnvalsVector(java.nio.Buffer vec)static longremoveElementMatrix(java.nio.Buffer mat, long row, long col)static longremoveElementVector(java.nio.Buffer mat, long id)static longresizeMatrix(java.nio.Buffer mat, long rows, long cols)static longresizeVector(java.nio.Buffer vec, long size)static longsetDescriptorValue(java.nio.Buffer desc, int field, int value)static longsetHyperRatio(java.nio.Buffer mat, double ratio)static longsize(java.nio.Buffer vec)static longvectorApply(java.nio.Buffer outVec, java.nio.Buffer mask, java.nio.Buffer accum, java.nio.Buffer op, java.nio.Buffer firstInput, java.nio.Buffer desc)static longvectorWait(java.nio.Buffer mat)
-
-
-
Field Detail
-
GrB_SUCCESS
public static int GrB_SUCCESS
-
GrB_NO_VALUE
public static int GrB_NO_VALUE
-
GrB_UNINITIALIZED_OBJECT
public static int GrB_UNINITIALIZED_OBJECT
-
GrB_INVALID_OBJECT
public static int GrB_INVALID_OBJECT
-
GrB_NULL_POINTER
public static int GrB_NULL_POINTER
-
GrB_INVALID_VALUE
public static int GrB_INVALID_VALUE
-
GrB_INVALID_INDEX
public static int GrB_INVALID_INDEX
-
GrB_DOMAIN_MISMATCH
public static int GrB_DOMAIN_MISMATCH
-
GrB_DIMENSION_MISMATCH
public static int GrB_DIMENSION_MISMATCH
-
GrB_OUTPUT_NOT_EMPTY
public static int GrB_OUTPUT_NOT_EMPTY
-
GrB_OUT_OF_MEMORY
public static int GrB_OUT_OF_MEMORY
-
GrB_INSUFFICIENT_SPACE
public static int GrB_INSUFFICIENT_SPACE
-
GrB_INDEX_OUT_OF_BOUNDS
public static int GrB_INDEX_OUT_OF_BOUNDS
-
GrB_PANIC
public static int GrB_PANIC
-
GxB_RANGE
public static long GxB_RANGE
-
GxB_STRIDE
public static long GxB_STRIDE
-
GxB_BACKWARDS
public static long GxB_BACKWARDS
-
GrB_OUTP
public static int GrB_OUTP
-
GrB_MASK
public static int GrB_MASK
-
GrB_INP0
public static int GrB_INP0
-
GrB_INP1
public static int GrB_INP1
-
GxB_DESCRIPTOR_NTHREADS
public static int GxB_DESCRIPTOR_NTHREADS
-
GxB_DESCRIPTOR_CHUNK
public static int GxB_DESCRIPTOR_CHUNK
-
GxB_AxB_METHOD
public static int GxB_AxB_METHOD
-
GxB_DEFAULT
public static int GxB_DEFAULT
-
GrB_REPLACE
public static int GrB_REPLACE
-
GrB_COMP
public static int GrB_COMP
-
GrB_TRAN
public static int GrB_TRAN
-
GrB_STRUCTURE
public static int GrB_STRUCTURE
-
GxB_AxB_GUSTAVSON
public static int GxB_AxB_GUSTAVSON
-
GxB_AxB_HEAP
public static int GxB_AxB_HEAP
-
GxB_AxB_DOT
public static int GxB_AxB_DOT
-
GxB_AxB_HASH
public static int GxB_AxB_HASH
-
GxB_AxB_SAXPY
public static int GxB_AxB_SAXPY
-
-
Method Detail
-
initNonBlocking
public static long initNonBlocking()
-
grbWait
public static long grbWait()
-
grbFinalize
public static long grbFinalize()
-
createMatrix
public static java.nio.Buffer createMatrix(java.nio.Buffer tpe, long rows, long cols)
-
nvalsMatrix
public static long nvalsMatrix(java.nio.Buffer mat)
-
nrows
public static long nrows(java.nio.Buffer mat)
-
ncols
public static long ncols(java.nio.Buffer mat)
-
clearMatrix
public static long clearMatrix(java.nio.Buffer mat)
-
freeMatrix
public static long freeMatrix(java.nio.Buffer mat)
-
removeElementMatrix
public static long removeElementMatrix(java.nio.Buffer mat, long row, long col)
-
dupMatrix
public static java.nio.Buffer dupMatrix(java.nio.Buffer mat)
-
getFormat
public static int getFormat(java.nio.Buffer mat)
-
makeCSC
public static long makeCSC(java.nio.Buffer mat)
-
makeCSR
public static long makeCSR(java.nio.Buffer mat)
-
setHyperRatio
public static long setHyperRatio(java.nio.Buffer mat, double ratio)
-
getHyperRatio
public static double getHyperRatio(java.nio.Buffer mat)
-
neverHyper
public static long neverHyper(java.nio.Buffer mat)
-
resizeMatrix
public static long resizeMatrix(java.nio.Buffer mat, long rows, long cols)
-
matrixApply
public static long matrixApply(java.nio.Buffer outMat, java.nio.Buffer mask, java.nio.Buffer accum, java.nio.Buffer op, java.nio.Buffer firstInput, java.nio.Buffer desc)
-
matrixWait
public static long matrixWait(java.nio.Buffer mat)
-
createVector
public static java.nio.Buffer createVector(java.nio.Buffer tpe, long size)
-
nvalsVector
public static long nvalsVector(java.nio.Buffer vec)
-
size
public static long size(java.nio.Buffer vec)
-
freeVector
public static long freeVector(java.nio.Buffer vec)
-
clearVec
public static long clearVec(java.nio.Buffer vec)
-
resizeVector
public static long resizeVector(java.nio.Buffer vec, long size)
-
dupVector
public static java.nio.Buffer dupVector(java.nio.Buffer vec)
-
removeElementVector
public static long removeElementVector(java.nio.Buffer mat, long id)
-
vectorApply
public static long vectorApply(java.nio.Buffer outVec, java.nio.Buffer mask, java.nio.Buffer accum, java.nio.Buffer op, java.nio.Buffer firstInput, java.nio.Buffer desc)
-
vectorWait
public static long vectorWait(java.nio.Buffer mat)
-
createSemiring
public static java.nio.Buffer createSemiring(java.nio.Buffer monoidAdd, java.nio.Buffer binOpMul)
-
freeSemiring
public static long freeSemiring(java.nio.Buffer semiring)
-
freeMonoid
public static long freeMonoid(java.nio.Buffer monoid)
-
createDescriptor
public static java.nio.Buffer createDescriptor()
-
setDescriptorValue
public static long setDescriptorValue(java.nio.Buffer desc, int field, int value)
-
getDescriptorValue
public static int getDescriptorValue(java.nio.Buffer desc, int field)
-
freeDescriptor
public static long freeDescriptor(java.nio.Buffer desc)
-
-