Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef CUDADataFormats_PortableTestObjects_interface_TestDeviceCollection_h
#define CUDADataFormats_PortableTestObjects_interface_TestDeviceCollection_h

#include "CUDADataFormats/Common/interface/PortableDeviceCollection.h"
#include "DataFormats/PortableTestObjects/interface/TestSoA.h"

namespace cudatest {

  // Eigen matrix
  using Matrix = portabletest::Matrix;
  using Array = portabletest::Array;

  // SoA with x, y, z, id fields, r scalar, m matrix, in device global memory
  using TestDeviceCollection = cms::cuda::PortableDeviceCollection<portabletest::TestSoA>;

}  // namespace cudatest

#endif  // CUDADataFormats_PortableTestObjects_interface_TestDeviceCollection_h