{
  "additionalProperties": false,
  "properties": {
    "class": {
      "enum": [
        "cwltool:CUDARequirement"
      ],
      "type": "string"
    },
    "cudaComputeCapability": {
      "$ref": "https://ogcincubator.github.io/bblocks-cwl/build/annotated/cwl/v1_2_1/CUDAComputeCapability/schema.json"
    },
    "cudaDeviceCountMax": {
      "default": 1,
      "description": "The maximum amount of devices required.",
      "example": 8,
      "minimum": 1,
      "title": "CUDA device count maximum",
      "type": "integer"
    },
    "cudaDeviceCountMin": {
      "default": 1,
      "description": "The minimum amount of devices required.",
      "example": 1,
      "minimum": 1,
      "title": "CUDA device count minimum",
      "type": "integer"
    },
    "cudaVersionMin": {
      "description": "The minimum CUDA version required to run the software. This corresponds to a CUDA SDK release.\n\nWhen run in a container, the container image should provide the CUDA runtime,\nand the host driver is injected into the container.  In this case, because CUDA drivers\nare backwards compatible, it is possible to use an older SDK with a newer driver across major versions.\n\nSee https://docs.nvidia.com/deploy/cuda-compatibility/ for details.\n",
      "example": "11.4",
      "pattern": "^\\d+\\.\\d+$",
      "title": "CUDA version minimum",
      "type": "string"
    }
  },
  "required": [
    "cudaVersionMin",
    "cudaComputeCapability"
  ],
  "title": "cwltool:CUDARequirement",
  "type": "object"
}