pub unsafe extern "C" fn M_getDeviceType(
device: *const M_Device,
) -> M_DeviceTypeExpand description
Gets the type of a device.
@param device The device.
@returns The device type (M_HOST or M_ACCELERATOR).
pub unsafe extern "C" fn M_getDeviceType(
device: *const M_Device,
) -> M_DeviceTypeGets the type of a device.
@param device The device.
@returns The device type (M_HOST or M_ACCELERATOR).