gpuMagic.getMemUsage: Get the device memory usage

Description Usage Value Examples

View source: R/gpuFunctions.R

Description

The function will print the memory usage on the console

Usage

1

Value

No return value, the result will be printed in the console.

Examples

1

Example output

Registered S3 method overwritten by 'pryr':
  method      from
  print.bytes Rcpp
No device has been found, please make sure the computer has a graphic card or the driver has been properly installed.
Hint:
For CPU, you can install the intel's / ATI's graphic driver for the intel's / AMD's CPU respectively.
For GPU, you need to download the graphic driver from your vendor's website.
Device memory usage:
 --Used: (%) --Total: 

gpuMagic documentation built on Nov. 8, 2020, 5:15 p.m.