From 27f24cea1f53f4770f9adbbb2064326df79d90ff Mon Sep 17 00:00:00 2001 From: Cosmin G Petra Date: Thu, 26 Oct 2023 09:30:15 -0700 Subject: [PATCH] removed deprecated ALG2 for CSR2CSCEx2 API (#671) --- src/LinAlg/hiopMatrixSparseCsrCuda.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LinAlg/hiopMatrixSparseCsrCuda.cpp b/src/LinAlg/hiopMatrixSparseCsrCuda.cpp index 7a3d558d3..2e8e4f123 100644 --- a/src/LinAlg/hiopMatrixSparseCsrCuda.cpp +++ b/src/LinAlg/hiopMatrixSparseCsrCuda.cpp @@ -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); @@ -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); }