Trouble getting started

Dumb question. I am trying to get started with cuda on a laptop with a 520M card. Is it possible to execute CUDA programs while the card is supporting graphics on the machine or does it need to be dedicated? I’m not expecting performance I just want to see it work.

The reason I ask is that everything I have tried, compiles and executes without errors but returns zeros from the GPU. I have tried sample code and even tried just sending data and retrieving it with out executing any kernels. No matter what I do, I just come back with zeros.