How to use intel HD graphic card for display & geforce card for cuda?

I have a PC with intel HD graphic card integrated,and I install a gtx card on the mother board.The question is how can i use the intel for display , geforce for CUDA? especially on linux?