Table of Contents

Enum GpuUsageLevel

Namespace
AiDotNet.Engines
Assembly
AiDotNet.dll

GPU usage level controlling when to use GPU vs CPU for operations.

public enum GpuUsageLevel

Fields

Aggressive = 2

Aggressive GPU usage - use GPU more often (high-end GPUs).

AlwaysCpu = 4

Always use CPU for all operations (disable GPU entirely).

AlwaysGpu = 3

Always use GPU for all operations (maximize GPU utilization).

Conservative = 0

Conservative GPU usage - only for very large operations (older/slower GPUs).

Default = 1

Balanced GPU usage - good for most desktop GPUs (default).

Remarks

For Beginners: This controls how aggressively the system uses GPU: - **Default**: Balanced for typical GPUs (recommended) - **Conservative**: Only use GPU for very large operations (older/slower GPUs) - **Aggressive**: Use GPU more often (high-end GPUs like RTX 4090/A100) - **AlwaysGpu**: Force all operations to GPU (maximize GPU utilization) - **AlwaysCpu**: Force all operations to CPU (disable GPU entirely)