Table of Contents

Class KernelHandle

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

Handle for a submitted kernel execution

public sealed record KernelHandle : IEquatable<KernelHandle>
Inheritance
KernelHandle
Implements
Inherited Members

Constructors

KernelHandle(string, DateTimeOffset, KernelStatus)

Handle for a submitted kernel execution

public KernelHandle(string Id, DateTimeOffset SubmittedAt, KernelStatus Status = KernelStatus.Queued)

Parameters

Id string
SubmittedAt DateTimeOffset
Status KernelStatus

Properties

Id

public string Id { get; init; }

Property Value

string

Status

public KernelStatus Status { get; init; }

Property Value

KernelStatus

SubmittedAt

public DateTimeOffset SubmittedAt { get; init; }

Property Value

DateTimeOffset

Methods

Create()

Creates a new kernel handle with a unique ID and current timestamp.

public static KernelHandle Create()

Returns

KernelHandle

A new KernelHandle with status set to Queued.