Table of Contents

Class PINNGpuMemoryInfo

Namespace
AiDotNet.PhysicsInformed
Assembly
AiDotNet.dll

GPU memory usage information for PINN training.

public class PINNGpuMemoryInfo
Inheritance
PINNGpuMemoryInfo
Inherited Members

Remarks

Note: A value of -1 for any property indicates that the information is not available through the current GPU backend.

For accurate memory profiling, use external tools such as: - NVIDIA: nvidia-smi, nvml library - AMD: rocm-smi - General: Visual Studio GPU profiler

Properties

AvailableMemoryBytes

Gets or sets the available GPU memory in bytes. A value of -1 indicates this information is not available.

public long AvailableMemoryBytes { get; set; }

Property Value

long

IsMemoryInfoAvailable

Gets whether memory information is available.

public bool IsMemoryInfoAvailable { get; }

Property Value

bool

TotalMemoryBytes

Gets or sets the total GPU memory in bytes. A value of -1 indicates this information is not available.

public long TotalMemoryBytes { get; set; }

Property Value

long

UsagePercentage

Gets the usage percentage, or -1 if memory information is not available.

public double UsagePercentage { get; }

Property Value

double

UsedMemoryBytes

Gets or sets the used GPU memory in bytes. A value of -1 indicates this information is not available.

public long UsedMemoryBytes { get; set; }

Property Value

long