[][src]Function onednn_sys::dnnl_memory_get_data_handle

pub unsafe extern "C" fn dnnl_memory_get_data_handle(
    memory: const_dnnl_memory_t,
    handle: *mut *mut c_void
) -> dnnl_status_t

Returns memory object's data handle.

@param memory Memory object. @param handle Output data handle. For the CPU engine, the data handle is a pointer to the actual data. For OpenCL it is a cl_mem. @returns #dnnl_success on success and a status describing the error otherwise.