Skip to content

Commit

Permalink
correct datatype declaration for d_x and d_lsum used for GPU.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyeli committed Dec 28, 2024
1 parent 45e2432 commit 5a1946f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions SRC/complex16/pzgstrs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1010,8 +1010,8 @@ pzgstrs(superlu_dist_options_t *options, int_t n,
gpuStream_t sid=0;
int gid=0;
gridinfo_t *d_grid = NULL;
double *d_x = NULL;
double *d_lsum = NULL;
doublecomplex *d_x = NULL;
doublecomplex *d_lsum = NULL;
int *d_bmod = NULL;
int *d_fmod = NULL;
#endif
Expand Down
4 changes: 2 additions & 2 deletions SRC/single/psgstrs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1008,8 +1008,8 @@ psgstrs(superlu_dist_options_t *options, int_t n,
gpuStream_t sid=0;
int gid=0;
gridinfo_t *d_grid = NULL;
double *d_x = NULL;
double *d_lsum = NULL;
float *d_x = NULL;
float *d_lsum = NULL;
int *d_bmod = NULL;
int *d_fmod = NULL;
#endif
Expand Down

0 comments on commit 5a1946f

Please sign in to comment.