Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Control
AthCUDA
AthCUDAKernel
AthCUDAKernel
KernelStatus.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
//
3
// Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
4
//
5
#ifndef ATHCUDAKERNEL_KERNELSTATUS_H
6
#define ATHCUDAKERNEL_KERNELSTATUS_H
7
8
// System include(s).
9
#include <mutex>
10
11
namespace
AthCUDA
{
12
21
class
KernelStatus
{
22
23
public
:
25
KernelStatus
();
26
28
void
finished
(
int
code
);
29
31
int
wait
();
32
33
private
:
35
int
m_code
;
37
std::mutex
m_mutex
;
38
39
};
// class KernelStatus
40
41
}
// namespace AthCUDA
42
43
#endif // ATHCUDAKERNEL_KERNELSTATUS_H
AthCUDA::KernelStatus::m_code
int m_code
The result of the kernel execution.
Definition:
KernelStatus.h:35
BeamSpot::mutex
std::mutex mutex
Definition:
InDetBeamSpotVertex.cxx:18
AthCUDA::KernelStatus::KernelStatus
KernelStatus()
Default constructor.
Definition:
KernelStatus.cxx:10
AthCUDA::KernelStatus
Helper object used for synchronising GPU kernel tasks.
Definition:
KernelStatus.h:21
histSizes.code
code
Definition:
histSizes.py:129
AthCUDA::KernelStatus::wait
int wait()
Wait for the execution of the kernel to finish.
Definition:
KernelStatus.cxx:23
AthCUDA
Definition:
Info.h:14
AthCUDA::KernelStatus::m_mutex
std::mutex m_mutex
Mutex used for waiting for the CUDA task to finish.
Definition:
KernelStatus.h:37
AthCUDA::KernelStatus::finished
void finished(int code)
Function called by "the framework" when the CUDA kernel finished.
Definition:
KernelStatus.cxx:16
Generated on Wed May 7 2025 21:12:17 for ATLAS Offline Software by
1.8.18