File: Vector.cpp

package info (click to toggle)
vecgeom 1.2.8%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 24,016 kB
  • sloc: cpp: 88,803; ansic: 6,888; python: 1,035; sh: 582; sql: 538; makefile: 23
file content (37 lines) | stat: -rw-r--r-- 1,614 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/// \file Vector.cpp
/// \author Johannes de Fine Licht (johannes.definelicht@cern.ch)

#include "VecGeom/base/Vector.h"

namespace vecgeom {

#ifdef VECCORE_CUDA

inline namespace cuda {
class VPlacedVolume;
}

namespace cxx {

template size_t DevicePtr<cuda::Vector<Precision>>::SizeOf();
template void DevicePtr<cuda::Vector<Precision>>::Construct(DevicePtr<Precision> const arr, const size_t size) const;
template void DevicePtr<cuda::Vector<Precision>>::Construct(DevicePtr<Precision> const arr, const size_t size,
                                                            const size_t maxsize) const;

template size_t DevicePtr<cuda::Vector<cuda::VPlacedVolume *>>::SizeOf();
template void DevicePtr<cuda::Vector<cuda::VPlacedVolume *>>::Construct(DevicePtr<cuda::VPlacedVolume *> const arr,
                                                                        const size_t size) const;
template void DevicePtr<cuda::Vector<cuda::VPlacedVolume *>>::Construct(DevicePtr<cuda::VPlacedVolume *> const arr,
                                                                        const size_t size, const size_t maxsize) const;

template size_t DevicePtr<cuda::Vector<cuda::VPlacedVolume const *>>::SizeOf();
template void DevicePtr<cuda::Vector<cuda::VPlacedVolume const *>>::Construct(
    DevicePtr<cuda::VPlacedVolume const *> const arr, const size_t size) const;
template void DevicePtr<cuda::Vector<cuda::VPlacedVolume const *>>::Construct(
    DevicePtr<cuda::VPlacedVolume const *> const arr, const size_t size, const size_t maxsize) const;

} // End cxx namespace

#endif

} // End global namespace