ATLAS Offline Software
Loading...
Searching...
No Matches
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).
4from AthenaConfiguration.AthConfigFlags import AthConfigFlags
5
6
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