Skip to content

Commit 61f9482

Browse files
authored
[SYCLomatic] Fix test case features/cusparse-helper (#237)
Signed-off-by: Jiang, Zhiwei <[email protected]>
1 parent be6c100 commit 61f9482

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

features/feature_case/cusparse/cusparse-helper.cu

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@
1010
#include <cusparse_v2.h>
1111
#include <cuda_runtime.h>
1212

13-
int m, n, nnz, k, ldb, ldc;
14-
double alpha;
15-
const double* csrValA;
16-
const int* csrRowPtrA;
17-
const int* csrColIndA;
18-
const double* x;
19-
double beta;
20-
double* y;
21-
cusparseHandle_t handle;
22-
cusparseOperation_t transA = CUSPARSE_OPERATION_NON_TRANSPOSE;
23-
cusparseMatDescr_t descrA;
24-
2513
int foo(int aaaaa){
14+
int m, n, nnz, k, ldb, ldc;
15+
double alpha;
16+
const double* csrValA;
17+
const int* csrRowPtrA;
18+
const int* csrColIndA;
19+
const double* x;
20+
double beta;
21+
double* y;
22+
cusparseHandle_t handle;
23+
cusparseOperation_t transA = CUSPARSE_OPERATION_NON_TRANSPOSE;
24+
cusparseMatDescr_t descrA;
25+
2626
cusparseMatDescr_t descr1 = 0, descr2 = 0;
2727
cusparseMatDescr_t descr3 = 0;
2828

0 commit comments

Comments
 (0)