Table of Contents

Property CurrentProcessGpuMemoryUsedBytes

Namespace
LMKit.Hardware.Gpu
Assembly
LM-Kit.NET.dll

CurrentProcessGpuMemoryUsedBytes

VRAM (in bytes) currently allocated on this device by the current OS process, as reported by NVML (nvmlDeviceGetComputeRunningProcesses_v3). Returns 0 when the value can't be obtained (non-CUDA backend, NVML unavailable, or this process has not allocated GPU memory on this device).

public ulong CurrentProcessGpuMemoryUsedBytes { get; }

Property Value

ulong
Share