Table of Contents

Struct ContiguousKernelKey

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

Cache key for same-type contiguous binary operations. Used for fast-path SIMD kernels when both operands are contiguous with identical type.

public readonly record struct ContiguousKernelKey : IEquatable<ContiguousKernelKey>
Implements
Inherited Members
Extension Methods

Constructors

ContiguousKernelKey(NPTypeCode, BinaryOp)

Cache key for same-type contiguous binary operations. Used for fast-path SIMD kernels when both operands are contiguous with identical type.

public ContiguousKernelKey(NPTypeCode Type, BinaryOp Op)

Parameters

Type NPTypeCode
Op BinaryOp

Properties

Op

public BinaryOp Op { get; init; }

Property Value

BinaryOp

Type

public NPTypeCode Type { get; init; }

Property Value

NPTypeCode

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.