charm icon indicating copy to clipboard operation
charm copied to clipboard

HAPI releasePool() passes bad address to cudaFreeHost()

Open trquinn opened this issue 3 years ago • 0 comments

ChaNGa, using the HAPI interface to CUDA, fails at exit because cudaFreeHost() reports an invalid argument when called in the releasePool() method. From code inspection, it is apparent that, if a pool gets used, pools[i].head is not necessary the beginning of the pinned chunk created by cudaMallocHost().

trquinn avatar Aug 18 '22 04:08 trquinn