slight fix to compile with umpire and pinned memory pools (#682)

Co-authored-by: Paul Mullowney <Paul.Mullowney@nrel.gov>
This commit is contained in:
PaulMullowney 2022-08-18 10:28:52 -06:00 committed by GitHub
parent 2383e6881d
commit 5d1def73d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1781,7 +1781,7 @@ hypre_umpire_pinned_pooled_allocate(void **ptr, size_t nbytes)
HYPRE_Int
hypre_umpire_pinned_pooled_free(void *ptr)
{
const hypre_Handle *handle = hypre_handle();
hypre_Handle *handle = hypre_handle();
const char *pool_name = hypre_HandleUmpirePinnedPoolName(handle);
umpire_allocator pooled_allocator;