Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-09-07 02:51:46

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/TestSoA.h"
0006 #include "HeterogeneousCore/AlpakaInterface/interface/config.h"
0007 
0008 namespace ALPAKA_ACCELERATOR_NAMESPACE {
0009 
0010   namespace portabletest {
0011 
0012     // make the names from the top-level portabletest namespace visible for unqualified lookup
0013     // inside the ALPAKA_ACCELERATOR_NAMESPACE::portabletest namespace
0014     using namespace ::portabletest;
0015 
0016     // SoA with x, y, z, id fields in device global memory
0017     using TestDeviceCollection = PortableCollection<TestSoA>;
0018 
0019   }  // namespace portabletest
0020 
0021 }  // namespace ALPAKA_ACCELERATOR_NAMESPACE
0022 
0023 #endif  // DataFormats_PortableTestObjects_interface_alpaka_TestDeviceCollection_h