get_offload_infos


Description:

[ CCode ( cname = "xapp_gpu_offload_helper_get_offload_infos" ) ]
[ Version ( since = "2.6" ) ]
public List<unowned GpuInfo> get_offload_infos ()

Generates a list of GpuInfos that can be offloaded to, if there are any.

Parameters:

this

The GpuOffloadHelper.

Returns:

a list of GpuInfos or null if there is only a single GPU. The elements are owned by this but the container itself should be freed.