ATLAS Offline Software
Control
AthCUDA
AthCUDACore
src
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
5
#include "
CxxUtils/checker_macros.h
"
6
7
// Local include(s).
8
#include "
AthCUDACore/TaskArena.h
"
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.
Generated on Thu Jul 4 2024 21:27:47 for ATLAS Offline Software by
1.8.18