_logger.warning("ERROR: Not using GPU. Initialisation of device %i failed. %s"%(device,e))
_logger.warning("ERROR: Not using GPU. Initialisation of device %i failed. %s"%(device,e))
enabled_cuda=False
elifuse.device_number!=device:
elifuse.device_number!=device:
logging.getLogger('theano.sandbox.cuda').warning("WARNING: ignoring call to use(%s), GPU number %i is already in use."%(str(device),use.device_number))
logging.getLogger('theano.sandbox.cuda').warning("WARNING: ignoring call to use(%s), GPU number %i is already in use."%(str(device),use.device_number))
# This environment variable is a quick-and-dirty way to get low-precision comparisons.
# This config variable is a quick-and-dirty way to get low-precision
# For a more precise setting of these tolerances set them explicitly in your user code by
# comparisons. For a more precise setting of these tolerances set
# assigning, for example, "theano.tensor.basic.float32_atol = ..."
# them explicitly in your user code by assigning, for example,
# "theano.tensor.basic.float32_atol = ..."
#when THEANO_CMP_SLOPPY>1 we are even more sloppy. This is usefull to test the gpu as they don't use extended precision and this cause some difference bigger then the normal sloppy.
# When config.tensor.cmp_sloppy>1 we are even more sloppy. This is
# useful to test the GPU as they don't use extended precision and
# this cause some difference bigger then the normal sloppy.