[][src]Function onednn_sys::dnnl_memory_destroy

pub unsafe extern "C" fn dnnl_memory_destroy(
    memory: dnnl_memory_t
) -> dnnl_status_t

Destroys a memory object.

@param memory Memory object to destroy. @returns #dnnl_success on success and a status describing the error otherwise.