PINNGpuMemoryInfo
Models & Types · AiDotNet.PhysicsInformed
GPU memory usage information for PINN training.
How It Works
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
Constructors
| Constructor | Summary |
|---|---|
PINNGpuMemoryInfo() |
Properties
| Property | Summary |
|---|---|
bool IsMemoryInfoAvailable { get; } |
Gets whether memory information is available. |
double UsagePercentage { get; } |
Gets the usage percentage, or -1 if memory information is not available. |
long AvailableMemoryBytes { get; set; } |
Gets or sets the available GPU memory in bytes. |
long TotalMemoryBytes { get; set; } |
Gets or sets the total GPU memory in bytes. |
long UsedMemoryBytes { get; set; } |
Gets or sets the used GPU memory in bytes. |