Table of Contents

Class TensorOperation

Namespace
NVMathNet.Tensor
Assembly
NVMath.Net.dll

Common plumbing for the single-plan cuTENSOR operations (permutation, element-wise binary, reduction): handle, stream, tensor descriptors, plan, workspace and disposal. Tensors use a packed column-major layout: the first mode varies fastest in memory.

public abstract class TensorOperation : IAsyncDisposable, IDisposable

Inheritance

Derived

Implements

Inherited Members

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

DisposeAsync()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

public ValueTask DisposeAsync()

Returns

ValueTask

A task that represents the asynchronous dispose operation.

SynchronizeAsync(CancellationToken)

Waits for all work on the internal stream to complete.

public Task SynchronizeAsync(CancellationToken ct = default)

Parameters

ct CancellationToken

Returns

Task