Table of Contents

Class TensorContractionOptions

Namespace
NVMathNet.Tensor
Assembly
NVMath.Net.dll

Options for a tensor contraction operation.

public sealed class TensorContractionOptions

Inheritance

Inherited Members

Properties

Algorithm

cuTENSOR algorithm to use. Default: NVMathNet.Tensor.TensorAlgorithm.Default (auto-select). When NVMathNet.Tensor.TensorContractionOptions.AutotuneMode is not NVMathNet.Tensor.ContractionAutotuneMode.None, the autotune setting overrides this value.

public TensorAlgorithm Algorithm { get; set; }

Property Value

TensorAlgorithm

AutotuneMode

Algorithm search strategy used when building the contraction plan. Default: NVMathNet.Tensor.ContractionAutotuneMode.None (use NVMathNet.Tensor.TensorContractionOptions.Algorithm directly).

public ContractionAutotuneMode AutotuneMode { get; set; }

Property Value

ContractionAutotuneMode

Blocking

If true (default), Execute blocks until the GPU completes.

public bool Blocking { get; set; }

Property Value

bool

WorksizePreference

Preferred workspace strategy. Default: NVMathNet.Tensor.WorksizePreference.Recommended.

public WorksizePreference WorksizePreference { get; set; }

Property Value

WorksizePreference