evaluateCUDA - multiple declarations

Function evaluateCUDA

Used for performing a one-off evaluation of a set of operations.

dopt.core.types.Buffer[] evaluateCUDA (
  Operation[] ops,
  dopt.core.types.Buffer[Operation] args = cast(Buffer[Operation])null
);

If you are planning to operate the same set of operations multiple times, but with different variables assignments, then you should construct a CUDAPlan.

Parameters

NameDescription
ops The operations to be evaluated.
args A set of optional variable assignments.

Returns

The result of evaluating ops.

Function evaluateCUDA

A convenience overload that evaluates a single operation and returns a single Buffer.

dopt.core.types.Buffer evaluateCUDA (
  Operation op,
  dopt.core.types.Buffer[Operation] args = cast(Buffer[Operation])null
);

Parameters

NameDescription
op The operation to be evaluated.
args A set of optional variable assignments.

Returns

The result of evaluating op