[][src]Function onednn_sys::dnnl_primitive_desc_query_s32

pub unsafe extern "C" fn dnnl_primitive_desc_query_s32(
    primitive_desc: const_dnnl_primitive_desc_t,
    what: dnnl_query_t,
    index: c_int
) -> c_int

Queries primitive descriptor for a signed 32bit int.

@note This function is a convenience version of #dnnl_primitive_desc_query().

@param primitive_desc Primitive descriptor. @param what Kind of the value to query for. @param index Index of the parameter to query. @returns The requested value. @returns 0 in case of any error (in particular if the queried entity is not of type int32_t). Note that 0 may also be the actual returned value.