[][src]Function onednn_sys::dnnl_stream_attr_create

pub unsafe extern "C" fn dnnl_stream_attr_create(
    attr: *mut dnnl_stream_attr_t,
    kind: dnnl_engine_kind_t
) -> dnnl_status_t

Creates execution stream attributes for a stream that runs on an engine of a particular kind.

@param attr Output execution stream attributes. @param kind Target engine kind. @returns #dnnl_success on success and a status describing the error otherwise.