As far as I understand, there is a memory inside the video card. My video card is 8GB. There are also processor cores. It seems to me that cores are responsible for parallel computing, the more there are, the faster the calculation. And the memory is just a buffer.