bug fix
This commit is contained in:
parent
09eb54520c
commit
9cd6eb1ff8
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user