ATLAS Offline Software
Loading...
Searching...
No Matches
python.DeviceConfigFlags Namespace Reference

Functions

 createDeviceConfigFlags ()

Function Documentation

◆ createDeviceConfigFlags()

python.DeviceConfigFlags.createDeviceConfigFlags ( )
Function to create the flags for using accelerator devices in Athena

Definition at line 7 of file DeviceConfigFlags.py.

7def createDeviceConfigFlags():
8 '''Function to create the flags for using accelerator devices in Athena
9 '''
10
11 # Create the flags container.
12 result = AthConfigFlags()
13
14 # Memory (resource) management flags.
15 result.addFlag('Device.Memory.Cache', True,
16 help='Whether or not to cache memory allocations')
17 result.addFlag('Device.Memory.Debug', False,
18 help='Whether or not to actively debug memory allocations')
19
20 # Return the container.
21 return result