When cuda option is specified add -l gpus=1