Function offload_get_num_devices

pub const fn offload_get_num_devices() -> i32

Returns the number of offload devices available on the system.

Use this to discover which device_id values are valid to pass to offload. Devices are numbered from 0 to the returned value minus one.

Returns 0 if no offloading devices are present.