Run GPUsniffer.exe from the command prompt. The Name string will tell you the exact name to use, possibly something like "GeForce 310M" and the rest will tell you if it does support hardware acceleration.
If it does not say that CUDA support is available, you are out of luck. I have not yet seen a 310M in the database, so I don't know if it works
Sorry, but the 310, which is not recommended by Dave, is not the same as the 310M. Anyway, even if it is CUPA capable and has 1 GB VRAM or more, it will be a marginal improvement, because of the extremely limited number of CUDA cores, only 16.
It is advertised with an nVidia 310M but with only 16 CUDA cores it is a terrible weakling. My testing of a 9500 GT with 32 CUDA cores was 6 times slower encoding the PPBM5 MPEG2-DVD test than a 480 core GTX 480.
After considerable searching I did find this small portion of a nVidia drivers file which at least does reference this strange graphics card, but notice it also has a GeForce 310M.
NVIDIA_DEV.0A6C.01 = "NVIDIA NVS 3100M"
NVIDIA_DEV.0A6E.01 = "NVIDIA GeForce 305M"
NVIDIA_DEV.0A70.01 = "NVIDIA N11M-GE2"
NVIDIA_DEV.0A74.01 = "NVIDIA GeForce G210M"
NVIDIA_DEV.0A75.01 = "NVIDIA GeForce 310M"
NVIDIA_DEV.0A78.01 = "NVIDIA Quadro FX 380 LP"
With such a low-end GPU you might as well permanently lock CS5 into software-only mode. To do this you will need to undo the hack; otherwise, CS5 will start up in GPU-acceleration mode by default. The N11M-GE2 is so sluggish (it has only 16 CUDA cores) that any attempt of using GPU acceleration might result in corrupted videos. And with such a low-end GPU expect molasses-slow performance in encoding (more than two times slower than a higher-end GPU in both MPEG-2 DVD and H.264 Blu-ray encodes), not just rendering.