src
RecoPixelVertexing
PixelTriplets
plugins
HelixFitOnGPU.cc
Go to the documentation of this file.
1
#include "
HeterogeneousCore/CUDAUtilities/interface/cudaCheck.h
"
2
#include "
HelixFitOnGPU.h
"
3
4
template
<
typename
TrackerTraits>
5
void
HelixFitOnGPU<TrackerTraits>::allocateOnGPU
(
TupleMultiplicity
const
*
tupleMultiplicity
,
6
OutputSoAView
&helix_fit_results) {
7
tuples_ = &helix_fit_results.hitIndices();
8
tupleMultiplicity_ =
tupleMultiplicity
;
9
outputSoa_ = helix_fit_results;
10
11
assert
(tuples_);
12
assert
(tupleMultiplicity_);
13
assert
(outputSoa_.chi2());
14
assert
(outputSoa_.pt());
15
}
16
17
template
<
typename
TrackerTraits>
18
void
HelixFitOnGPU<TrackerTraits>::deallocateOnGPU
() {}
19
20
template
class
HelixFitOnGPU<pixelTopology::Phase1>
;
21
template
class
HelixFitOnGPU<pixelTopology::Phase2>
;
HelixFitOnGPU
Definition:
HelixFitOnGPU.h:44
cms::cuda::assert
assert(be >=bs)
tupleMultiplicity
TupleMultiplicity< TrackerTraits > const *__restrict__ tupleMultiplicity
Definition:
BrokenLineFitOnGPU.h:30
HelixFitOnGPU::OutputSoAView
TrackSoAView< TrackerTraits > OutputSoAView
Definition:
HelixFitOnGPU.h:52
cudaCheck.h
HelixFitOnGPU::allocateOnGPU
void allocateOnGPU(TupleMultiplicity const *tupleMultiplicity, OutputSoAView &helix_fit_results)
Definition:
HelixFitOnGPU.cc:5
HelixFitOnGPU::deallocateOnGPU
void deallocateOnGPU()
Definition:
HelixFitOnGPU.cc:18
cms::cuda::OneToManyAssoc
Definition:
OneToManyAssoc.h:143
HelixFitOnGPU.h
Generated for CMSSW Reference Manual by
1.8.14