Interface IExecutableGeneratedKernel
- Namespace
- DotCompute.Abstractions.Kernels
- Assembly
- DotCompute.Abstractions.dll
Extended interface for generated kernels with execution capabilities.
public interface IExecutableGeneratedKernel : IGeneratedKernel, IDisposable
- Inherited Members
- Extension Methods
Properties
CompiledKernel
Gets the compiled kernel instance.
ICompiledKernel? CompiledKernel { get; }
Property Value
IsCompiled
Gets whether the kernel is compiled and ready for execution.
bool IsCompiled { get; }
Property Value
Parameters
Gets the kernel parameters.
IReadOnlyList<IKernelParameter> Parameters { get; }
Property Value
Methods
ExecuteAsync(params object[])
Executes the kernel with the given parameters.
Task ExecuteAsync(params object[] parameters)
Parameters
parametersobject[]The parameters to pass to the kernel.
Returns
- Task
Task representing the asynchronous execution.