CMS 3D CMS Logo

TestDeviceObject.h
Go to the documentation of this file.
1 #ifndef DataFormats_PortableTestObjects_interface_alpaka_TestDeviceObject_h
2 #define DataFormats_PortableTestObjects_interface_alpaka_TestDeviceObject_h
3 
8 
10 
11  namespace portabletest {
12 
13  // make the names from the top-level portabletest namespace visible for unqualified lookup
14  // inside the ALPAKA_ACCELERATOR_NAMESPACE::portabletest namespace
15  using namespace ::portabletest;
16 
17  // struct with x, y, z, id fields in device global memory
19 
20  } // namespace portabletest
21 
22 } // namespace ALPAKA_ACCELERATOR_NAMESPACE
23 
24 // check that the portable device collection for the host device is the same as the portable host collection
26 
27 #endif // DataFormats_PortableTestObjects_interface_alpaka_TestDeviceObject_h
#define ASSERT_DEVICE_MATCHES_HOST_COLLECTION(DEVICE_COLLECTION, HOST_COLLECTION)
::PortableObject< T, Device > PortableObject
PortableObject< TestStruct > TestDeviceObject