[−][src]Function onednn_sys::dnnl_memory_get_engine
pub unsafe extern "C" fn dnnl_memory_get_engine(
memory: const_dnnl_memory_t,
engine: *mut dnnl_engine_t
) -> dnnl_status_t
Returns the engine of a memory object.
@param memory Memory object. @param engine Output engine on which the memory is located. @returns #dnnl_success on success and a status describing the error otherwise.