changes according to the latest RAJA

This commit is contained in:
Ruipeng Li 2020-05-13 10:50:45 -07:00
parent bd1f981c6f
commit 3c6cb66fba
2 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ typedef struct hypre_Boxloop_struct
#define hypre_RAJA_DEVICE RAJA_DEVICE
#define hypre_raja_exec_policy cuda_exec<BLOCKSIZE>
/* #define hypre_raja_reduce_policy cuda_reduce_atomic<BLOCKSIZE> */
#define hypre_raja_reduce_policy cuda_reduce<BLOCKSIZE>
#define hypre_raja_reduce_policy cuda_reduce //<BLOCKSIZE>
#define hypre_fence()
/*
#define hypre_fence() \
@ -3443,11 +3443,11 @@ typedef struct hypre_StructMatrix_struct
constant coefficient matrices
or 2 for constant coefficient
with variable diagonal */
HYPRE_Int symmetric; /* Is the matrix symmetric */
HYPRE_Int *symm_elements; /* Which elements are "symmetric" */
HYPRE_Int num_ghost[2*HYPRE_MAXDIM]; /* Num ghost layers in each direction */
HYPRE_BigInt global_size; /* Total number of nonzero coeffs */
hypre_CommPkg *comm_pkg; /* Info on how to update ghost data */

View File

@ -38,7 +38,7 @@ typedef struct hypre_Boxloop_struct
#define hypre_RAJA_DEVICE RAJA_DEVICE
#define hypre_raja_exec_policy cuda_exec<BLOCKSIZE>
/* #define hypre_raja_reduce_policy cuda_reduce_atomic<BLOCKSIZE> */
#define hypre_raja_reduce_policy cuda_reduce<BLOCKSIZE>
#define hypre_raja_reduce_policy cuda_reduce //<BLOCKSIZE>
#define hypre_fence()
/*
#define hypre_fence() \