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

Classes

class  HIPStream

Functions

 createHIPConfigFlags ()

Function Documentation

◆ createHIPConfigFlags()

createHIPConfigFlags ( )
Function to create the flags for using HIP devices/GPUs in Athena

Definition at line 22 of file HIPConfigFlags.py.

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