get gpu mem by cudaMemGetInfo