[][src]Function onednn_sys::dnnl_get_primitive_cache_capacity

pub unsafe extern "C" fn dnnl_get_primitive_cache_capacity(
    capacity: *mut c_int
) -> dnnl_status_t

Returns the number of primitives that can be held in the primitive cache at the same time.

@param capacity Primitive cache capacity to query. Concurrently accessing @p capacity is safe. @returns #dnnl_invalid_arguments/#dnnl::status::invalid_arguments if the @p capacity value is invalid, and #dnnl_success/#dnnl::status::success on success.