pub unsafe extern "C" fn cublasLtMatrixLayoutSetAttribute(
    matLayout: cublasLtMatrixLayout_t,
    attr: cublasLtMatrixLayoutAttribute_t,
    buf: *const c_void,
    sizeInBytes: usize
) -> cublasStatus_t
Expand description

Set matrix layout descriptor attribute.

\param[in] matLayout The descriptor \param[in] attr The attribute \param[in] buf memory address containing the new value \param[in] sizeInBytes size of buf buffer for verification (in bytes)

\retval CUBLAS_STATUS_INVALID_VALUE if buf is NULL or sizeInBytes doesn’t match size of internal storage for selected attribute \retval CUBLAS_STATUS_SUCCESS if attribute was set successfully