pub unsafe extern "C" fn halide_device_malloc(
user_context: *mut c_void,
buf: *mut halide_buffer_t,
device_interface: *const halide_device_interface_t,
) -> c_intpub unsafe extern "C" fn halide_device_malloc(
user_context: *mut c_void,
buf: *mut halide_buffer_t,
device_interface: *const halide_device_interface_t,
) -> c_int