CpuParallelSettings

Options & Configuration · AiDotNet.Tensors.Helpers

No summary documentation available yet.

Properties

Property Summary
TimeSpan WorkerSpinTime { get; set; }
WorkerPinning WorkerPinning { get; set; }
bool CapGemmAtPhysicalCores { get; set; }
bool DeterministicReductions { get; set; }
bool EnableAvx2Gather { get; set; }
bool EnableSimd { get; set; }
bool IsInParallelRegion { get; }
bool UseCooperativePool { get; set; }
int MaxDegreeOfParallelism { get; set; }
int ParallelThreshold { get; set; }
int PhysicalCoreCount { get; }
int WorkerPoolThreads { get; }

Methods

Method Summary
int GemmThreadCount(int requested)
void LightweightInvoke(Action[] actions)
void LightweightParallel(int numChunks, Action<int> action)
void LightweightParallel(int numChunks, int maxDop, Action<int> action)
void LightweightParallel(int numChunks, int maxDop, Func<TLocal> localInit, Action<int, TLocal> body, Action<TLocal> localFinally)
void LightweightParallel(int numChunks, long totalWork, Action<int> action)
void ParallelForChunks(int length, int minChunkSize, Action<int, int> action)
void ParallelForOrSerial(int fromInclusive, int toExclusive, long totalWork, Action<int> body, bool deterministicSafe)
void ParallelForOrSerial(int fromInclusive, int toExclusive, long totalWork, Action<int> body, int maximumDegreeOfParallelism, bool deterministicSafe)
void ParallelForOrSerial(int fromInclusive, int toExclusive, long totalWork, Func<TLocal> localInit, Func<int, ParallelLoopState, TLocal, TLocal> body, Action<TLocal> localFinally)
void ParallelForRegion(int count, Action<int> body)

Fields

Field Summary
int ElementwiseGrainSize
int MinChunkSize