Cuda compatible? Geforce gt520mx

Hi,
I have installed the nvidia drives for my gpu geforce gt 520mx but can’t able to install cuda in it. my graphics memory is only 1024mb is that a problem.
pls let me know how to get cuda installed in my system.

It’s a Fermi device so you can use driver 390 and cuda 8 maximum.