Get the free and total amount of GPU memory on the current devide

Namespace: Emgu.CV.GPU
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void GetGpuMemInfo(
	out ulong free,
	out ulong total
)
Public Shared Sub GetGpuMemInfo ( _
	<OutAttribute> ByRef free As ULong, _
	<OutAttribute> ByRef total As ULong _
)
public:
static void GetGpuMemInfo(
	[OutAttribute] unsigned long long% free, 
	[OutAttribute] unsigned long long% total
)

Parameters

free
UInt64%
The free amount of GPU memory
total
UInt64%
The total amount of GPU memory

See Also