deviceMemoryInfo: Requests the currently available and total amount of device...

Description Usage Arguments Value

View source: R/nmfgpu4R.R

Description

Requests the currently available and total amount of device memory.

Usage

1
deviceMemoryInfo(deviceIndex = NA)

Arguments

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.

Value

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.

nmfgpu4R documentation built on May 2, 2019, 2:51 p.m.