Class ComputeCapabilities

java.lang.Object
jdistlib.accelerator.ComputeCapabilities

public final class ComputeCapabilities extends Object
Immutable compute-device capabilities relevant to statistical kernels.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ComputeCapabilities(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 Type
    Method
    Description
     
    boolean
    Whether the provider accepts batched dense operations through the public contract.
    boolean
    Whether the provider accelerates the public dense BLAS operations.
     
    boolean
     
    long
     
    boolean
    Whether factorization methods execute natively on this provider.
    boolean
    Whether sparse Cholesky analysis, factorization, and solves execute natively.
    boolean
    Whether prepared dense handles retain provider-optimal storage between calls.
    boolean
    Whether prepared CSR handles retain provider-optimal storage between calls.
    boolean
    Whether sparse symbolic analysis is reusable when only numerical values change.
    boolean
     
    boolean
    Whether the provider accelerates the public CSR operations.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ComputeCapabilities

      public ComputeCapabilities(String backend, String device, boolean doublePrecision, boolean runtimeCompilation, long globalMemoryBytes)
    • ComputeCapabilities

      public ComputeCapabilities(String backend, String device, boolean doublePrecision, boolean runtimeCompilation, long globalMemoryBytes, boolean denseLinearAlgebra, boolean sparseLinearAlgebra, boolean nativeFactorizations)
    • 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

      public String backend()
    • device

      public String 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()