[ CCode ( cname = "xapp_gpu_offload_helper_get_n_gpus" ) ]
[ Version ( since = "2.6" ) ]
public int get_n_gpus ()
Gets the number of GPUs noticed by Switcheroo.
| this |
The GpuOffloadHelper. |
|
the total number of GPUs. A return value larger than 1 implies there are offloadable GPUs available. |