This commit is contained in:
Ruipeng Li 2022-05-26 16:56:32 -07:00
parent 09eb54520c
commit 9cd6eb1ff8

View File

@ -306,13 +306,6 @@ HYPRE_Init()
hypre_SetDevice(device_id, _hypre_handle);
hypre_GetDeviceMaxShmemSize(device_id, _hypre_handle);
#if defined(HYPRE_USING_DEVICE_MALLOC_ASYNC)
cudaMemPool_t mempool;
cudaDeviceGetDefaultMemPool(&mempool, device_id);
uint64_t threshold = UINT64_MAX;
cudaMemPoolSetAttribute(mempool, cudaMemPoolAttrReleaseThreshold, &threshold);
#endif
#if defined(HYPRE_USING_DEVICE_MALLOC_ASYNC)
cudaMemPool_t mempool;
cudaDeviceGetDefaultMemPool(&mempool, device_id);