From 01d58550f246b94a8e8c4f2fb1ee3e721f5f9510 Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Tue, 21 Dec 2021 14:24:55 -0500 Subject: [PATCH 1/1] 18323: Document CUDARequirement Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- doc/user/cwl/cwl-extensions.html.textile.liquid | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/user/cwl/cwl-extensions.html.textile.liquid b/doc/user/cwl/cwl-extensions.html.textile.liquid index 6a70454b10..dcddace148 100644 --- a/doc/user/cwl/cwl-extensions.html.textile.liquid +++ b/doc/user/cwl/cwl-extensions.html.textile.liquid @@ -57,6 +57,12 @@ hints: processProperties: property1: value1 property2: $(inputs.value2) + + arv:CUDARequirement: + minCUDADriverVersion: "11.0" + minCUDAHardwareCapability: "9.0" + minDeviceCount: 1 + maxDeviceCount: 1 {% endcodeblock %} h2(#RunInSingleContainer). arv:RunInSingleContainer @@ -147,6 +153,17 @@ table(table table-bordered table-condensed). |_. Field |_. Type |_. Description | |processProperties|key-value map, or list of objects with the fields {propertyName, propertyValue}|The properties that will be set on the container request. May include expressions that reference `$(inputs)` of the current workflow or tool.| +h2(#CUDARequirement). arv:CUDARequirement + +Request support for Nvidia CUDA GPU acceleration in the container. Assumes that the CUDA runtime (SDK) is installed in the container, and the host will inject the CUDA driver libraries into the container (equal or later to the version requested). + +table(table table-bordered table-condensed). +|_. Field |_. Type |_. Description | +|minCUDADriverVersion|string|Required. The CUDA SDK version corresponding to the minimum driver version supported by the container (generally, the SDK version 'X.Y' the application was compiled against).| +|minCUDAHardwareCapability|string|Required. The minimum CUDA hardware capability (in 'X.Y' format) required by the application's PTX or C++ GPU code (will be JIT compiled for the available hardware).| +|minDeviceCount|integer|Minimum number of GPU devices to allocate on a single node. Required.| +|maxDeviceCount|integer|Maximum number of GPU devices to allocate on a single node. Optional. If not specified, same as @minDeviceCount@.| + h2. arv:dockerCollectionPDH This is an optional extension field appearing on the standard @DockerRequirement@. It specifies the portable data hash of the Arvados collection containing the Docker image. If present, it takes precedence over @dockerPull@ or @dockerImageId@. -- 2.30.2