Table of Contents

Class KernelResult<TOut>

Namespace
Orleans.GpuBridge.Abstractions.Kernels
Assembly
Orleans.GpuBridge.Abstractions.dll

Result from kernel execution

public sealed record KernelResult<TOut> : IEquatable<KernelResult<TOut>> where TOut : notnull

Type Parameters

TOut
Inheritance
KernelResult<TOut>
Implements
Inherited Members

Constructors

KernelResult(IReadOnlyList<TOut>, TimeSpan, KernelHandle, bool, string?)

Result from kernel execution

public KernelResult(IReadOnlyList<TOut> Results, TimeSpan ExecutionTime, KernelHandle Handle, bool Success = true, string? Error = null)

Parameters

Results IReadOnlyList<TOut>
ExecutionTime TimeSpan
Handle KernelHandle
Success bool
Error string

Properties

Error

public string? Error { get; init; }

Property Value

string

ExecutionTime

public TimeSpan ExecutionTime { get; init; }

Property Value

TimeSpan

Handle

public KernelHandle Handle { get; init; }

Property Value

KernelHandle

Results

public IReadOnlyList<TOut> Results { get; init; }

Property Value

IReadOnlyList<TOut>

Success

public bool Success { get; init; }

Property Value

bool