File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ namespace mallocMC
166166 ALPAKA_FN_HOST void free ()
167167 {
168168 devAllocatorBuffer = {};
169- reservePolicy.resetMemPool (heapInfos. p );
169+ reservePolicy.resetMemPool ();
170170 heapInfos.size = 0 ;
171171 heapInfos.p = nullptr ;
172172 }
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ namespace mallocMC
4545 return alpaka::getPtrNative (*poolBuffer);
4646 }
4747
48- void resetMemPool (void * p )
48+ void resetMemPool ()
4949 {
5050 poolBuffer = {};
5151 }
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ namespace mallocMC
6363 return nullptr ;
6464 }
6565
66- static void resetMemPool (void * p = nullptr )
66+ static void resetMemPool ()
6767 {
6868 cudaDeviceSetLimit (cudaLimitMallocHeapSize, 8192U );
6969 cudaGetLastError (); // cudaDeviceSetLimit() usually fails if any
You can’t perform that action at this time.
0 commit comments