fixes after regression tests

This commit is contained in:
Ruipeng Li 2019-12-08 09:21:06 -08:00
parent f80db4bc3a
commit 9395a69f1f
3 changed files with 3 additions and 2 deletions

View File

@ -41,6 +41,7 @@ LicStr='SPDX-License-Identifier: \(Apache-2.0 OR MIT\)'
egrep -LR "$LicStr" . | egrep -v '[.](o|a|filters|pdf|svg|gif)$' |
egrep -v '[.]/[.]git' |
egrep -v '[.]/src/(blas|lapack)/.*[.]c' |
egrep -v '[.]/src/utilities/cub' |
egrep -v '[.]/src/examples/docs' |
egrep -v '[.]/src/test/TEST_.*' > check-license.files

View File

@ -2473,7 +2473,7 @@ main( hypre_int argc,
hypre_printf(" ParVector\n");
}
HYPRE_Int memory_location = HYPRE_MEMORY_SHARED;
memory_location = HYPRE_MEMORY_SHARED;
#if defined(HYPRE_USING_CUDA) || defined(HYPRE_USING_DEVICE_OPENMP)
if (hypre_handle->no_cuda_um)
{

View File

@ -131,7 +131,7 @@ hypre_HandleCreate()
#ifdef HYPRE_USING_CUB_ALLOCATOR
handle->cub_bin_growth = 8u;
handle->cub_min_bin = 1u;
handle->cub_max_bin = (unsigned int) -1;
handle->cub_max_bin = (hypre_uint) -1;
handle->cub_max_cached_bytes = (size_t) -1;
handle->cub_dev_allocator = NULL;
handle->cub_um_allocator = NULL;