deviceMemoryInfo {nmfgpu4R} | R Documentation |
Requests the currently available and total amount of device memory.
deviceMemoryInfo(deviceIndex = NA)
deviceIndex |
If specified the memory info retrieval is restricted to the passed device indices. By default no restriction is active and therefore memory information about all available CUDA devices are retrieved. |
On success a list of lists will be returned, containing the following informations:
index | Index of the CUDA device |
free.bytes | Amount of free memory in bytes. |
total.bytes | Total amount of memory in bytes. |