This give you the string we print: theano.gpuarray.init_dev.devmap['cuda0'].devname
example string: "GeForce GTX 750" Frédéric On Sun, Aug 13, 2017 at 12:41 PM Geppetto Null <[email protected]> wrote: > I am interested in getting the name of the gpu device I use. That is, when > I import theano, I get the following message: > > > > > *In [1]: import theano Using cuDNN version 5110 on context None Mapped > name None to device cuda0: GeForce GTX 1070 (0000:01:00.0)* > > > I would like to get a string with the name of the gpu (i.e., "GeForce GTX > 1070"), or just the whole line as shown above. I tried > theano.config.device, but it contains just the 'cuda0'. > > Many thanks, > Christos > > > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "theano-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "theano-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
