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:
parent
2383e6881d
commit
5d1def73d9
@ -1781,7 +1781,7 @@ hypre_umpire_pinned_pooled_allocate(void **ptr, size_t nbytes)
|
|||||||
HYPRE_Int
|
HYPRE_Int
|
||||||
hypre_umpire_pinned_pooled_free(void *ptr)
|
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);
|
const char *pool_name = hypre_HandleUmpirePinnedPoolName(handle);
|
||||||
umpire_allocator pooled_allocator;
|
umpire_allocator pooled_allocator;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user