cuda-api-wrappers icon indicating copy to clipboard operation
cuda-api-wrappers copied to clipboard

Support asynchronous memory allocation

Open eyalroz opened this issue 4 years ago • 2 comments

CUDA 11.2 added asynchronous memory allocation and de-allocation. Let's support that.

API description: here.

​cudaError_t cudaFreeAsync ( void* devPtr, cudaStream_t hStream );
​cudaError_t cudaMallocAsync ( void** devPtr, size_t size, cudaStream_t hStream );

eyalroz avatar Feb 27 '21 09:02 eyalroz

Note: Need some test/example program coverage...

eyalroz avatar Feb 27 '21 10:02 eyalroz

Not actually fixed... we had only added allocation, not deallocation :-(

eyalroz avatar Jul 23 '22 19:07 eyalroz