Table of Contents

Class NDIterPathSelector

Namespace
NumSharp.Backends.Iteration
Assembly
NumSharp.dll

Execution path selection logic.

public static class NDIterPathSelector
Inheritance
NDIterPathSelector
Inherited Members

Methods

GetRecommendedInnerSize(NDIterExecutionPath, NPTypeCode)

Get the recommended inner loop size for the given path.

public static long GetRecommendedInnerSize(NDIterExecutionPath path, NPTypeCode dtype)

Parameters

path NDIterExecutionPath
dtype NPTypeCode

Returns

long

IsSimdPath(NDIterExecutionPath)

Check if the given execution path supports SIMD operations.

public static bool IsSimdPath(NDIterExecutionPath path)

Parameters

path NDIterExecutionPath

Returns

bool

SelectPath(ref NDIterState)

Determine the optimal execution path based on operand layout.

public static NDIterExecutionPath SelectPath(ref NDIterState state)

Parameters

state NDIterState

Returns

NDIterExecutionPath