DeferredScopeExtensions

Helpers & Utilities · AiDotNet.Tensors.Engines.Gpu

No summary documentation available yet.

Methods

Method Summary
IDeferredScope BeginDeferredScope(IAsyncGpuBackend backend, GpuExecutionOptions options, GpuStreamPool streamPool)
TResult ExecuteDeferred(IAsyncGpuBackend backend, Func<IDeferredScope, TResult> action, GpuExecutionOptions options)
Task ExecuteDeferredAsync(IAsyncGpuBackend backend, Action<IDeferredScope> action, GpuExecutionOptions options, CancellationToken cancellationToken)
Task<TResult> ExecuteDeferredAsync(IAsyncGpuBackend backend, Func<IDeferredScope, TResult> action, GpuExecutionOptions options, CancellationToken cancellationToken)
void ExecuteDeferred(IAsyncGpuBackend backend, Action<IDeferredScope> action, GpuExecutionOptions options)