Namespace: Rx::LFR – Class: CCudaDevice – Header: Rx.LFR/CudaDevice.h

CCudaDevice::QueryMemoryInfo Method

C++
void QueryMemoryInfo(size_t& nFree, size_t& nTotal)

Queries the free and the total amount of available device memory in bytes.

Parameters

[size_t&] nFree

[out] Free device memory in bytes.

[size_t&] nTotal

[out] Total device memory in bytes.