Emulating multiple GPU's

Hello,

I have a system with only 1 GPU but am preparing my application to run on systems with multiple GPU’s. Now I was wondering whether it’s possible to run in emulation mode pretending that the system has multiple GPU’s. I adapted the simpleMultiGPU example in such way that the number of GPU’s is hardcoded to 2, so that 2 threads are started. Inside the threads the device is always set manually to 0 but this doesnt work since the program appears to block. But even if it would work I doubt whether this is a reliable simulation for a system with 2 physical GPU’s especially since I am working with texture references that will have to be set different for different GPU’s.

Kevin