4
4
#include < cstdint>
5
5
6
6
#include < alpaka/alpaka.hpp>
7
+
7
8
#include " DataFormats/Portable/interface/alpaka/PortableCollection.h"
8
- #include " DataFormats/VertexSoA/interface/ZVertexSoA.h"
9
- #include " DataFormats/VertexSoA/interface/ZVertexDefinitions.h"
10
- #include " DataFormats/VertexSoA/interface/ZVertexHost.h"
11
9
#include " DataFormats/VertexSoA/interface/ZVertexDevice.h"
12
- #include " HeterogeneousCore/AlpakaInterface/interface/config.h"
10
+ #include " DataFormats/VertexSoA/interface/ZVertexHost.h"
11
+ #include " DataFormats/VertexSoA/interface/ZVertexSoA.h"
13
12
#include " HeterogeneousCore/AlpakaInterface/interface/CopyToHost.h"
13
+ #include " HeterogeneousCore/AlpakaInterface/interface/config.h"
14
14
15
15
namespace ALPAKA_ACCELERATOR_NAMESPACE {
16
16
@@ -19,21 +19,6 @@ namespace ALPAKA_ACCELERATOR_NAMESPACE {
19
19
20
20
} // namespace ALPAKA_ACCELERATOR_NAMESPACE
21
21
22
- namespace cms ::alpakatools {
23
- template <typename TDevice>
24
- struct CopyToHost <ZVertexDevice<TDevice>> {
25
- template <typename TQueue>
26
- static auto copyAsync (TQueue& queue, ZVertexDevice<TDevice> const & deviceData) {
27
- ZVertexHost hostData (queue);
28
- alpaka::memcpy (queue, hostData.buffer (), deviceData.buffer ());
29
- #ifdef GPU_DEBUG
30
- printf (" ZVertexSoACollection: I'm copying to host.\n " );
31
- #endif
32
- return hostData;
33
- }
34
- };
35
- } // namespace cms::alpakatools
36
-
37
22
ASSERT_DEVICE_MATCHES_HOST_COLLECTION (ZVertexSoACollection, ZVertexHost);
38
23
39
24
#endif // DataFormats_VertexSoA_interface_ZVertexSoACollection_h
0 commit comments