About 7-7.2Mb seems to be OK. 7.5 returns NULL.
I am calling cudaMemGetInfo() right before the kernel launch (global function that makes the call to device function that makes call to malloc)
It gives me green light with 5.7Gb of available memory. (6Gb total)
This malloc is the first memory allocation in the program. (!!!) (However, there is one cudaMalloc on the host, that allocates approx 100Mb).
7Mb is OK, 7.5 is too much???
I am a very beginner. Thanks in advance.