Class KernelInfo
- Namespace
- Orleans.GpuBridge.Abstractions.Kernels
- Assembly
- Orleans.GpuBridge.Abstractions.dll
Information about a kernel
public sealed record KernelInfo : IEquatable<KernelInfo>
- Inheritance
-
KernelInfo
- Implements
- Inherited Members
Constructors
KernelInfo(KernelId, string, Type, Type, bool, int, IReadOnlyDictionary<string, object>?)
Information about a kernel
public KernelInfo(KernelId Id, string Description, Type InputType, Type OutputType, bool SupportsGpu, int PreferredBatchSize, IReadOnlyDictionary<string, object>? Metadata = null)
Parameters
IdKernelIdDescriptionstringInputTypeTypeOutputTypeTypeSupportsGpuboolPreferredBatchSizeintMetadataIReadOnlyDictionary<string, object>
Properties
Description
public string Description { get; init; }
Property Value
Id
public KernelId Id { get; init; }
Property Value
InputType
public Type InputType { get; init; }
Property Value
Metadata
public IReadOnlyDictionary<string, object>? Metadata { get; init; }
Property Value
OutputType
public Type OutputType { get; init; }
Property Value
PreferredBatchSize
public int PreferredBatchSize { get; init; }
Property Value
SupportsGpu
public bool SupportsGpu { get; init; }