ATLAS Offline Software
TaskArena.cxx
Go to the documentation of this file.
1 //
2 // Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 //
4 
6 
7 // Local include(s).
9 
10 namespace AthCUDA {
11 
12  tbb::task_arena& taskArena() {
13 
14  static tbb::task_arena arena ATLAS_THREAD_SAFE ( 1, 0 );
15  return arena;
16  }
17 
18 } // namespace AthCUDA
TaskArena.h
AthCUDA::taskArena
tbb::task_arena & taskArena()
Function returning the TBB task arena that should be used for CUDA calls.
Definition: TaskArena.cxx:12
AthCUDA
Definition: Info.h:14
ATLAS_THREAD_SAFE
#define ATLAS_THREAD_SAFE
Definition: checker_macros.h:211
checker_macros.h
Define macros for attributes used to control the static checker.