CARE icon indicating copy to clipboard operation
CARE copied to clipboard

Universal CARE free function (both host and device memory)

Open dtaller opened this issue 4 years ago • 0 comments

Write a function free to replace both host free and gpuFree (cudaFree / hipFree )

A function like cudaPointerGetAttributes (and similar function for HIP)

can query whether a pointer is allocated on the host or device or managed.

dtaller avatar Aug 27 '20 22:08 dtaller