Interface IComputeExecution
- Namespace
- DotCompute.Core.Extensions
- Assembly
- DotCompute.Core.dll
Represents a compute execution context for asynchronous operations.
public interface IComputeExecution : IDisposable
- Inherited Members
- Extension Methods
Methods
Synchronize()
Synchronizes the stream, waiting for all operations to complete.
void Synchronize()
SynchronizeAsync(CancellationToken)
Asynchronously synchronizes the stream.
ValueTask SynchronizeAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenCancellation token.
Returns
- ValueTask
A task representing the synchronization operation.