Package jdistlib.accelerator
Class ComputeSelection
java.lang.Object
jdistlib.accelerator.ComputeSelection
- All Implemented Interfaces:
AutoCloseable
Selected compute backend, device provenance, and ownership for one workflow.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbackend()Returns the owned backend; closing this selection closes it.voidclose()device()Returns detailed runtime, driver, API, and device identification.plan(LinearAlgebraOperation operation, NumericPrecision precision, int... dimensions) Predicts the concrete execution route for an operation without running it.Returns the concrete provider used for accelerated work, orcpu.
-
Method Details
-
requested
-
backend
Returns the owned backend; closing this selection closes it. -
selectedBackend
Returns the concrete provider used for accelerated work, orcpu. -
device
-
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
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-