Table of Contents

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

ICompiledKernel

IsCompiled

Gets whether the kernel is compiled and ready for execution.

bool IsCompiled { get; }

Property Value

bool

Parameters

Gets the kernel parameters.

IReadOnlyList<IKernelParameter> Parameters { get; }

Property Value

IReadOnlyList<IKernelParameter>

Methods

ExecuteAsync(params object[])

Executes the kernel with the given parameters.

Task ExecuteAsync(params object[] parameters)

Parameters

parameters object[]

The parameters to pass to the kernel.

Returns

Task

Task representing the asynchronous execution.