Skip to content

Commit

Permalink
removed deprecated ALG2 for CSR2CSCEx2 API (#671)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnpetra authored Oct 26, 2023
1 parent c5e156c commit 27f24ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LinAlg/hiopMatrixSparseCsrCuda.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ void hiopMatrixSparseCSRCUDA::form_transpose_from_symbolic(const hiopMatrixSpars
CUDA_R_64F,
CUSPARSE_ACTION_SYMBOLIC,
CUSPARSE_INDEX_BASE_ZERO,
CUSPARSE_CSR2CSC_ALG2,
CUSPARSE_CSR2CSC_ALG1,
&buffer_size);
assert(CUSPARSE_STATUS_SUCCESS == st);
cudaError_t ret = cudaMalloc(&buffer_csc2csr_, sizeof(char)*buffer_size);
Expand Down Expand Up @@ -1009,7 +1009,7 @@ void hiopMatrixSparseCSRCUDA::form_transpose_from_numeric(const hiopMatrixSparse
CUDA_R_64F,
CUSPARSE_ACTION_NUMERIC,
CUSPARSE_INDEX_BASE_ZERO,
CUSPARSE_CSR2CSC_ALG2,
CUSPARSE_CSR2CSC_ALG1,
buffer_csc2csr_);
assert(CUSPARSE_STATUS_SUCCESS == st);
}
Expand Down

0 comments on commit 27f24ce

Please sign in to comment.