CUSPARSE_CSR2CSC_AGL2 is missing at CUDA 12.1

Hi,

I am trying to build AMGX 2.3 (from github), using openmpi/4.1.4+gcc/11.3+cuda/12.1
I encountered a message: AMGX-2.3.0/base/src/amgx_cusparse.cu(1737): error: identifier “CUSPARSE_CSR2CSC_ALG2” is undefined

I checked cusparse.h and found that CUSPARSE_CSR2CSC_ALG2 is gone:
4653 //##############################################################################
4654 //# CSR2CSC
4655 //##############################################################################
4656
4657 typedef enum {
4658 CUSPARSE_CSR2CSC_ALG_DEFAULT = 1,
4659 CUSPARSE_CSR2CSC_ALG1 = 1
4660 } cusparseCsr2CscAlg_t;
4661

CUSPARSE_CSR2CSC_ALG2 is found in cuda 10.2/11.4 and is this deprecated in 12.* ?
If it is deprecated, is there any other parameter/variables which may work with AMGX?

Any comments are appreciated.

B.

Hi, you can change this parameter to CUSPARSE_CSR2CSC_ALG_DEFAULT or CUSPARSE_CSR2CSC_ALG1.

Thanks for the reply.
Good to know that CUSPARSE_CSR2CSC_ALG_DEFAULT can be an alternative.
On the other hand, I confirmed that the latest amgx is compatible with cuda12.1

B.