Backends/SiaNet.Backend.TensorSharp/Cuda/TSCudaContext.cs
/// <summary>
/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
/// </summary>
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Performs application - defined tasks associated with freeing releasing or resetting unmanaged resources .
public void Dispose()
        {
            kernelCache.Dispose();
            foreach (var device in devices)
            {
                device.Dispose();
            }
        }
public void Dispose ( ) { kernelCache . Dispose ( ) ; foreach ( var device in devices ) { device . Dispose ( ) ; } }
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Performs application - defined tasks associated with freeing releasing or resetting unmanaged resources .