Project
Loading...
Searching...
No Matches
GPUROOTSMatrixFwd.h
Go to the documentation of this file.
1
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
14
15
#ifndef GPUROOTSMATRIXFWD_H
16
#define GPUROOTSMATRIXFWD_H
17
18
// Standalone forward declarations for Svector / SMatrix / etc.
19
// To be used on GPU where ROOT is not available.
20
21
#include "
GPUCommonDef.h
"
22
23
namespace
ROOT
24
{
25
namespace
Math
26
{
27
template
<
typename
T, u
int
32_t N>
28
class
SVector
;
29
template
<
class
T, u
int
32_t D1, u
int
32_t D2,
class
R>
30
class
SMatrix
;
31
template
<
class
T, u
int
32_t D>
32
class
MatRepSym
;
33
template
<
class
T, u
int
32_t D1, u
int
32_t D2>
34
class
MatRepStd
;
35
}
// namespace Math
36
}
// namespace ROOT
37
38
namespace
o2
39
{
40
namespace
math_utils
41
{
42
43
namespace
detail
44
{
45
template
<
typename
T, u
int
32_t N>
46
class
SVectorGPU;
47
template
<
class
T, u
int
32_t D1, u
int
32_t D2,
class
R>
48
class
SMatrixGPU;
49
template
<
class
T, u
int
32_t D>
50
class
MatRepSymGPU;
51
template
<
class
T, u
int
32_t D1, u
int
32_t D2>
52
class
MatRepStdGPU;
53
}
// namespace detail
54
55
#if !defined(GPUCA_STANDALONE) && !defined(GPUCA_GPUCODE) && !defined(GPUCOMMONRTYPES_H_ACTIVE)
56
template
<
typename
T, u
int
32_t N>
57
using
SVector
=
ROOT::Math::SVector<T, N>
;
58
template
<
class
T, u
int
32_t D1, u
int
32_t D2,
class
R>
59
using
SMatrix
=
ROOT::Math::SMatrix<T, D1, D2, R>
;
60
template
<
class
T, u
int
32_t D>
61
using
MatRepSym
=
ROOT::Math::MatRepSym<T, D>
;
62
template
<
class
T, u
int
32_t D1, u
int
32_t D2 = D1>
63
using
MatRepStd
=
ROOT::Math::MatRepStd<T, D1, D2>
;
64
#else
65
template
<
typename
T, u
int
32_t N>
66
using
SVector
=
detail::SVectorGPU<T, N>
;
67
template
<
class
T, u
int
32_t D1, u
int
32_t D2 = D1,
class
R = detail::MatRepStdGPU<T, D1, D2>>
68
using
SMatrix
=
detail::SMatrixGPU<T, D1, D2, R>
;
69
template
<
class
T, u
int
32_t D>
70
using
MatRepSym
=
detail::MatRepSymGPU<T, D>
;
71
template
<
class
T, u
int
32_t D1, u
int
32_t D2 = D1>
72
using
MatRepStd
=
detail::MatRepStdGPU<T, D1, D2>
;
73
#endif
74
75
}
// namespace math_utils
76
}
// namespace o2
77
78
#endif
GPUCommonDef.h
ROOT::Math::MatRepStd
Definition
GPUROOTCartesianFwd.h:32
ROOT::Math::MatRepSym
Definition
GPUROOTCartesianFwd.h:30
ROOT::Math::SMatrix
Definition
GPUROOTCartesianFwd.h:28
ROOT::Math::SVector
Definition
GPUROOTSMatrixFwd.h:28
o2::math_utils::detail::MatRepStdGPU
SMatReprStd starting port here.
Definition
SMatrixGPU.h:357
o2::math_utils::detail::MatRepSymGPU
Definition
SMatrixGPU.h:300
o2::math_utils::detail::SMatrixGPU
Definition
SMatrixGPU.h:440
o2::math_utils::detail::SVectorGPU
Definition
SMatrixGPU.h:55
ROOT
Definition
RCombinedDS.h:22
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
GPU
Common
GPUROOTSMatrixFwd.h
Generated on Tue Feb 25 2025 17:03:25 for Project by
1.9.8