hope to find a developer here who have experience with Cuda development and special with the new Nvidia Optimus.
How I can detect programatic what graphic card is active inside an Optimus system? I tried it with different ways but I always get the message that the graphic card, Quadro 2000M, is active. But I start the software with Intel Graphic card option. So it seems, Nvidia drivers and framework is always loaded.