Skip to content

Commit

Permalink
explicity cast to HYPRE_Bigint in exclusive_scan_by_key
Browse files Browse the repository at this point in the history
  • Loading branch information
pbauman committed May 3, 2021
1 parent f313c88 commit 9a3bb66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/IJ_mv/IJMatrix_parcsr_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ hypre_IJMatrixAssembleSortAndReduce1(HYPRE_Int N0, HYPRE_BigInt *I0, HYPRE_Big
make_reverse_iterator(thrust::make_zip_iterator(thrust::make_tuple(I0, J0))),
make_reverse_iterator(thrust::device_pointer_cast<char>(X0)+N0),
make_reverse_iterator(thrust::device_pointer_cast<char>(X) +N0),
0,
HYPRE_BigInt(0),
thrust::equal_to< thrust::tuple<HYPRE_BigInt, HYPRE_BigInt> >(),
thrust::maximum<char>() );

Expand Down
2 changes: 1 addition & 1 deletion src/IJ_mv/IJVector_parcsr_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ hypre_IJVectorAssembleSortAndReduce1(HYPRE_Int N0, HYPRE_BigInt *I0, char *X0
make_reverse_iterator(thrust::device_pointer_cast<HYPRE_BigInt>(I0)), /* key end */
make_reverse_iterator(thrust::device_pointer_cast<char>(X0)+N0), /* input value begin */
make_reverse_iterator(thrust::device_pointer_cast<char>(X) +N0), /* output value begin */
0, /* init */
HYPRE_BigInt(0), /* init */
thrust::equal_to<HYPRE_BigInt>(),
thrust::maximum<char>() );

Expand Down

0 comments on commit 9a3bb66

Please sign in to comment.