get_sync


Description:

[ CCode ( cname = "xapp_gpu_offload_helper_get_sync" ) ]
[ Version ( since = "2.6" ) ]
public static unowned GpuOffloadHelper get_sync ()

Creates a new GpuOffloadHelper instance.

This performs initialization synchronously, and can potentially block.

Use is_ready to see if the helper was initialized successfully.

Returns:

a new GpuOffloadHelper, fully initialized.