How to use both CUDA GPUs? I'm using rpcminer-cuda to have a play around mining some bitcoins.  I have 2 NVidia cards, and I understand this is not ideal for any profitable mining.  I would however like to have them both working at the same time.  Presently the output from rpcminer-cuda when it starts up is:

rpcminer-cuda.exe -url=myurl -user=myuser -password=password

Client will start 1 miner threads
2 CUDA GPU devices found
Setting CUDA device to first device found


How do I make it use both cards at the same time?  Do I need to tell it to start two threads or is there some other commandline switch I need to use?  I've tried adding -gpu=2 but it seems to be ignored.
The -gpu=X command line is telling it which of your CUDA devices it should use, not how many it should use. Like most things written by programmers, the index starts at zero.  If you have two video cards, run it once at the command line with -gpu=0 and then a second time again with -gpu=1.  Once you work out your ideal fine tuning on aggression, gpugrid and gputhreads (if you do at all), it's easiest if you make a batch file (unless you're using GUIMiner, in which case create a new CUDA miner for the second card, same extra flags on both other than gpu=0 or 1).

You can execute it twice without specifying the GPU and it will certainly run, but from the console output it appears it assigns both of them to the first device.