File indexing completed on 2024-04-06 12:05:01
0001 #ifndef DataFormats_PortableTestObjects_interface_alpaka_TestDeviceCollection_h
0002 #define DataFormats_PortableTestObjects_interface_alpaka_TestDeviceCollection_h
0003
0004 #include "DataFormats/Portable/interface/alpaka/PortableCollection.h"
0005 #include "DataFormats/PortableTestObjects/interface/TestHostCollection.h"
0006 #include "DataFormats/PortableTestObjects/interface/TestSoA.h"
0007 #include "HeterogeneousCore/AlpakaInterface/interface/config.h"
0008
0009 namespace ALPAKA_ACCELERATOR_NAMESPACE {
0010
0011 namespace portabletest {
0012
0013
0014
0015 using namespace ::portabletest;
0016
0017
0018 using ::portabletest::TestHostCollection;
0019
0020
0021 using TestDeviceCollection = PortableCollection<TestSoA>;
0022
0023 using TestDeviceMultiCollection2 = PortableCollection2<TestSoA, TestSoA2>;
0024
0025 using TestDeviceMultiCollection3 = PortableCollection3<TestSoA, TestSoA2, TestSoA3>;
0026
0027 }
0028
0029 }
0030
0031
0032 ASSERT_DEVICE_MATCHES_HOST_COLLECTION(portabletest::TestDeviceCollection, portabletest::TestHostCollection);
0033
0034 #endif