[][src]Function onednn_sys::dnnl_reorder_primitive_desc_create

pub unsafe extern "C" fn dnnl_reorder_primitive_desc_create(
    reorder_primitive_desc: *mut dnnl_primitive_desc_t,
    src_desc: *const dnnl_memory_desc_t,
    src_engine: dnnl_engine_t,
    dst_desc: *const dnnl_memory_desc_t,
    dst_engine: dnnl_engine_t,
    attr: const_dnnl_primitive_attr_t
) -> dnnl_status_t

Creates a primitive descriptor for a reorder primitive.

@param reorder_primitive_desc Output primitive descriptor. @param src_desc Source memory descriptor. @param src_engine Engine on which the source memory object will be located. @param dst_desc Destination memory descriptor. @param dst_engine Engine on which the destination memory object will be located. @param attr Primitive attributes to use (can be NULL). @returns #dnnl_success on success and a status describing the error otherwise.