[CUDA out of memory] How to reserve memory in GPU?

Is this a double post from here or how do they differ?