get_info_by_id


Description:

[ CCode ( cname = "xapp_gpu_offload_helper_get_info_by_id" ) ]
[ Version ( since = "2.6" ) ]
public unowned GpuInfo get_info_by_id (int id)

Returns an GpuInfo with the given ID.

Parameters:

this

The GpuOffloadHelper.

id

The ID of the info to retrieve.

Returns:

the appropriate GpuInfo, or null if id was invalid.