ATLAS Offline Software
Loading...
Searching...
No Matches
Control
AthDevice
AthDeviceComps
python
DeviceConfigFlags.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
3
# Project import(s).
4
from
AthenaConfiguration.AthConfigFlags
import
AthConfigFlags
5
6
7
def
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
python.DeviceConfigFlags.createDeviceConfigFlags
createDeviceConfigFlags()
Definition
DeviceConfigFlags.py:7
Generated on
for ATLAS Offline Software by
1.16.1