cwltool.cuda

Support utilities for CUDA.

Module Contents

Functions

cuda_version_and_device_count()

Determine the CUDA version and number of attached CUDA GPUs.

cuda_check(cuda_req, requestCount)

cwltool.cuda.cuda_version_and_device_count()

Determine the CUDA version and number of attached CUDA GPUs.

Return type:

Tuple[str, int]

cwltool.cuda.cuda_check(cuda_req, requestCount)
Parameters:
  • cuda_req (cwltool.utils.CWLObjectType)

  • requestCount (int)

Return type:

int