|
| 1 | +#include "cusparse.h" |
| 2 | + |
| 3 | +void test(cusparseHandle_t handle, int algo, cusparseOperation_t trans_a, |
| 4 | + cusparseOperation_t trans_b, int m, int nrhs, int nnz, |
| 5 | + const cuComplex *alpha, const cusparseMatDescr_t descr, |
| 6 | + const cuComplex *value, const int *row_ptr, const int *col_ind, |
| 7 | + const cuComplex *b, int ldb, csrsm2Info_t info, |
| 8 | + cusparseSolvePolicy_t policy, size_t *buffer_size) { |
| 9 | + // Start |
| 10 | + cusparseCcsrsm2_bufferSizeExt( |
| 11 | + handle /*cusparseHandle_t*/, algo /*int*/, |
| 12 | + trans_a /*cusparseOperation_t*/, trans_b /*cusparseOperation_t*/, |
| 13 | + m /*int*/, nrhs /*int*/, nnz /*int*/, alpha /*const cuComplex **/, |
| 14 | + descr /*const cusparseMatDescr_t*/, value /*const cuComplex **/, |
| 15 | + row_ptr /*const int **/, col_ind /*const int **/, b /*const cuComplex **/, |
| 16 | + ldb /*int*/, info /*csrsm2Info_t*/, policy /*cusparseSolvePolicy_t*/, |
| 17 | + buffer_size /*size_t **/); |
| 18 | + // End |
| 19 | +} |
0 commit comments