-
aoclsparse_status aoclsparse_copy_mat_descr(aoclsparse_mat_descr dest, const aoclsparse_mat_descr src)#
Copy a matrix descriptor.
aoclsparse_copy_mat_descrcopies a matrix descriptor. Both, source and destination matrix descriptors must be initialized prior to callingaoclsparse_copy_mat_descr.- Parameters:
dest – [out] the pointer to the destination matrix descriptor.
src – [in] the pointer to the source matrix descriptor.
- Return values:
aoclsparse_status_success – the operation completed successfully.
aoclsparse_status_invalid_pointer –
srcordestpointer is invalid.