Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:49:13

0001 #ifndef CUDADataFormats_PortableTestObjects_interface_TestDeviceCollection_h
0002 #define CUDADataFormats_PortableTestObjects_interface_TestDeviceCollection_h
0003 
0004 #include "CUDADataFormats/Common/interface/PortableDeviceCollection.h"
0005 #include "DataFormats/PortableTestObjects/interface/TestSoA.h"
0006 
0007 namespace cudatest {
0008 
0009   // Eigen matrix
0010   using Matrix = portabletest::Matrix;
0011 
0012   // SoA with x, y, z, id fields, r scalar, m matrix, in device global memory
0013   using TestDeviceCollection = cms::cuda::PortableDeviceCollection<portabletest::TestSoA>;
0014 
0015 }  // namespace cudatest
0016 
0017 #endif  // CUDADataFormats_PortableTestObjects_interface_TestDeviceCollection_h