ATLAS Offline Software
Loading...
Searching...
No Matches
CUDAConfigFlags Namespace Reference

Classes

class  CUDAStream

Functions

 createCUDAConfigFlags ()

Function Documentation

◆ createCUDAConfigFlags()

CUDAConfigFlags.createCUDAConfigFlags ( )
Function to create the flags for using CUDA devices/GPUs in Athena

Definition at line 22 of file CUDAConfigFlags.py.

22def createCUDAConfigFlags():
23 '''Function to create the flags for using CUDA devices/GPUs in Athena
24 '''
25
26 # Create the flags container.
27 result = AthConfigFlags()
28
29 # Memory (resource) management flags.
30 result.addFlag('CUDA.Stream', CUDAStream.Single, type=CUDAStream,
31 help='Strategy for selecting/providing a CUDA stream')
32
33 # Return the container.
34 return result