The size of your DRAM GPU is the upper limit of the amount of memory that you can allocate through cudaMalloc, but there is no guarantee that the CUDA runtime can satisfy the request for all of this in one large distribution or even a series of small allocations.
. , GPU , , . , (, ), . , , , .
API CUDART cudaMemGetInfo . , API, .