Hello,
Is there an equivalent to malloc_usable_size for cudaMalloc and cudaHostAlloc functions?
From Reference Manual:
cudaMalloc
“Allocates size bytes of linear memory on the device and returns in ∗devPtr a pointer to the allocated memory.
The allocated memory is suitably aligned for any kind of variable. The memory is not cleared.”
I would like to know exactly how much memory is allocated.