Skip to main content

M_getDeviceType

Function M_getDeviceType 

Source
pub unsafe extern "C" fn M_getDeviceType(
    device: *const M_Device,
) -> M_DeviceType
Expand description

Gets the type of a device.

@param device The device.

@returns The device type (M_HOST or M_ACCELERATOR).