Class ComputeSelection

java.lang.Object
jdistlib.accelerator.ComputeSelection
All Implemented Interfaces:
AutoCloseable

public final class ComputeSelection extends Object implements AutoCloseable
Selected compute backend, device provenance, and ownership for one workflow.
  • Method Details

    • requested

      public Compute requested()
    • backend

      public ComputeBackend backend()
      Returns the owned backend; closing this selection closes it.
    • selectedBackend

      public String selectedBackend()
      Returns the concrete provider used for accelerated work, or cpu.
    • device

      public String device()
    • deviceInfo

      public ComputeDeviceInfo deviceInfo()
      Returns detailed runtime, driver, API, and device identification.
    • plan

      public ExecutionPlan plan(LinearAlgebraOperation operation, NumericPrecision precision, int... dimensions)
      Predicts the concrete execution route for an operation without running it.
    • accelerated

      public boolean accelerated()
    • automaticRouting

      public boolean automaticRouting()
    • description

      public String description()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable