Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-02-14 04:11:34

0001 #ifndef DataFormats_Portable_interface_alpaka_PortableObject_h
0002 #define DataFormats_Portable_interface_alpaka_PortableObject_h
0003 
0004 #include <alpaka/alpaka.hpp>
0005 
0006 #include "DataFormats/Portable/interface/PortableObject.h"
0007 #include "HeterogeneousCore/AlpakaInterface/interface/config.h"
0008 
0009 // This header is not used by PortableObject, but is included here to automatically
0010 // provide its content to users of ALPAKA_ACCELERATOR_NAMESPACE::PortableObject.
0011 #include "HeterogeneousCore/AlpakaInterface/interface/AssertDeviceMatchesHostCollection.h"
0012 
0013 namespace ALPAKA_ACCELERATOR_NAMESPACE {
0014 
0015   // generic struct-based product in the device (that may be host) memory
0016   template <typename T>
0017   using PortableObject = ::PortableObject<T, Device>;
0018 
0019 }  // namespace ALPAKA_ACCELERATOR_NAMESPACE
0020 
0021 #endif  // DataFormats_Portable_interface_alpaka_PortableObject_h