cudaMalloc allocation size: cudaMemGetInfo


cudaMemGetInfo is really useful function.
That gives programmers device memory info.

But I don’t know how to know main memory info (host memory).
because cudaMalloc allocation minimum 2MB to device memory when call cudaMalloc.
I wonder about does main memory (host memory) allocate minimum 2MB minumum?
So I want to check main memory usage size.

I already try googling, but there are a lot of confuse things…

Your question doesn’t pertain to CUDA. You might get better help by asking the question on a forum dedicated to such topics for your particular operating system.

Oh, sorry. Thank you so much.

have a nice day!