X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3aaefcb3c76ff470b475d950398d01255e87712a..bcbf1b4b03f67a03e4bdefa67d8241af6b18aa38:/sdk/cwl/arvados_cwl/arv-cwl-schema-v1.0.yml diff --git a/sdk/cwl/arvados_cwl/arv-cwl-schema-v1.0.yml b/sdk/cwl/arvados_cwl/arv-cwl-schema-v1.0.yml index 8a3fa3173a..6f5e7980db 100644 --- a/sdk/cwl/arvados_cwl/arv-cwl-schema-v1.0.yml +++ b/sdk/cwl/arvados_cwl/arv-cwl-schema-v1.0.yml @@ -266,3 +266,94 @@ $graph: project_uuid: type: string? doc: The project that will own the container requests and intermediate collections + + +- name: OutputStorageClass + type: record + extends: cwl:ProcessRequirement + inVocab: false + doc: | + Specify the storage class to be used for intermediate and final output + fields: + class: + type: string + doc: "Always 'arv:StorageClassHint" + jsonldPredicate: + _id: "@type" + _type: "@vocab" + intermediateStorageClass: + type: + - "null" + - string + - type: array + items: string + doc: One or more storages classes + finalStorageClass: + type: + - "null" + - string + - type: array + items: string + doc: One or more storages classes + +- type: record + name: PropertyDef + doc: | + Define a property that will be set on the submitted container + request associated with this workflow or step. + fields: + - name: propertyName + type: string + doc: The property key + - name: propertyValue + type: [Any] + doc: The property value + + +- name: ProcessProperties + type: record + extends: cwl:ProcessRequirement + inVocab: false + doc: | + Specify metadata properties that will be set on the submitted + container request associated with this workflow or step. + fields: + class: + type: string + doc: "Always 'arv:ProcessProperties" + jsonldPredicate: + _id: "@type" + _type: "@vocab" + processProperties: + type: PropertyDef[] + jsonldPredicate: + mapSubject: propertyName + mapPredicate: propertyValue + + +- name: CUDARequirement + type: record + extends: cwl:ProcessRequirement + inVocab: false + doc: | + Require support for Nvidia CUDA (GPU hardware acceleration). + fields: + class: + type: string + doc: 'arv:CUDARequirement' + jsonldPredicate: + _id: "@type" + _type: "@vocab" + minCUDADriverVersion: + type: string + doc: Minimum CUDA driver version to run the software, in X.Y format of the associated CUDA SDK release. + minCUDAHardwareCapability: + type: string + doc: Minimum CUDA hardware capability required to run the software, in X.Y format. + minDeviceCount: + type: int? + default: 1 + doc: Minimum number of GPU devices to request, or 1. + maxDeviceCount: + type: int? + doc: Maximum number of GPU devices to request. If not specified, same as `minDeviceCount`.