def set_gpu_from_theano():
    """
    This set the GPU used by PyCUDA to the same as the one used by Theano.
    """
    # Transfer the theano gpu binding to pycuda, for consistency
    if config.device.startswith("gpu") and len(config.device) > 3:
        os.environ["CUDA_DEVICE"] = theano.config.device[3:]
    elif (config.init_gpu_device.startswith("gpu") and
          3 > len(config.init_gpu_device)):
        os.environ["CUDA_DEVICE"] = theano.config.init_gpu_device[3:]
dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/misc/pycuda_init.py/set_gpu_from_theano/swapped operands of `>`