Package jdistlib.accelerator
Class ComputeCapabilities
java.lang.Object
jdistlib.accelerator.ComputeCapabilities
Immutable compute-device capabilities relevant to statistical kernels.
-
Constructor Summary
ConstructorsConstructorDescriptionComputeCapabilities(String backend, String device, boolean doublePrecision, boolean runtimeCompilation, long globalMemoryBytes) ComputeCapabilities(String backend, String device, boolean doublePrecision, boolean runtimeCompilation, long globalMemoryBytes, boolean denseLinearAlgebra, boolean sparseLinearAlgebra, boolean nativeFactorizations) ComputeCapabilities(String backend, String device, boolean doublePrecision, boolean runtimeCompilation, long globalMemoryBytes, boolean denseLinearAlgebra, boolean sparseLinearAlgebra, boolean nativeFactorizations, boolean preparedSparseMatrices, boolean nativeSparseFactorizations, boolean reusableSparseFactorizations) ComputeCapabilities(String backend, String device, boolean doublePrecision, boolean runtimeCompilation, long globalMemoryBytes, boolean denseLinearAlgebra, boolean sparseLinearAlgebra, boolean nativeFactorizations, boolean preparedSparseMatrices, boolean nativeSparseFactorizations, boolean reusableSparseFactorizations, boolean preparedDenseMatrices, boolean batchedLinearAlgebra) -
Method Summary
Modifier and TypeMethodDescriptionbackend()booleanWhether the provider accepts batched dense operations through the public contract.booleanWhether the provider accelerates the public dense BLAS operations.device()booleanlongbooleanWhether factorization methods execute natively on this provider.booleanWhether sparse Cholesky analysis, factorization, and solves execute natively.booleanWhether prepared dense handles retain provider-optimal storage between calls.booleanWhether prepared CSR handles retain provider-optimal storage between calls.booleanWhether sparse symbolic analysis is reusable when only numerical values change.booleanbooleanWhether the provider accelerates the public CSR operations.
-
Constructor Details
-
ComputeCapabilities
-
ComputeCapabilities
-
ComputeCapabilities
public ComputeCapabilities(String backend, String device, boolean doublePrecision, boolean runtimeCompilation, long globalMemoryBytes, boolean denseLinearAlgebra, boolean sparseLinearAlgebra, boolean nativeFactorizations, boolean preparedSparseMatrices, boolean nativeSparseFactorizations, boolean reusableSparseFactorizations) -
ComputeCapabilities
public ComputeCapabilities(String backend, String device, boolean doublePrecision, boolean runtimeCompilation, long globalMemoryBytes, boolean denseLinearAlgebra, boolean sparseLinearAlgebra, boolean nativeFactorizations, boolean preparedSparseMatrices, boolean nativeSparseFactorizations, boolean reusableSparseFactorizations, boolean preparedDenseMatrices, boolean batchedLinearAlgebra)
-
-
Method Details
-
backend
-
device
-
doublePrecision
public boolean doublePrecision() -
runtimeCompilation
public boolean runtimeCompilation() -
denseLinearAlgebra
public boolean denseLinearAlgebra()Whether the provider accelerates the public dense BLAS operations. -
sparseLinearAlgebra
public boolean sparseLinearAlgebra()Whether the provider accelerates the public CSR operations. -
nativeFactorizations
public boolean nativeFactorizations()Whether factorization methods execute natively on this provider. -
preparedSparseMatrices
public boolean preparedSparseMatrices()Whether prepared CSR handles retain provider-optimal storage between calls. -
nativeSparseFactorizations
public boolean nativeSparseFactorizations()Whether sparse Cholesky analysis, factorization, and solves execute natively. -
reusableSparseFactorizations
public boolean reusableSparseFactorizations()Whether sparse symbolic analysis is reusable when only numerical values change. -
preparedDenseMatrices
public boolean preparedDenseMatrices()Whether prepared dense handles retain provider-optimal storage between calls. -
batchedLinearAlgebra
public boolean batchedLinearAlgebra()Whether the provider accepts batched dense operations through the public contract. -
globalMemoryBytes
public long globalMemoryBytes()
-