Theano/Theano — pull request #2012 by abergeron (2014-08-03 16:45:30+00:00)
Title: Only create the handle if we specify a device to gpu_init().

This should avoid initialization problems that were seen on multi-gpu clusters.