Go to the documentation of this file. 1 #ifndef HeterogeneousCore_AlpakaInterface_interface_AssertDeviceMatchesHostCollection_h 2 #define HeterogeneousCore_AlpakaInterface_interface_AssertDeviceMatchesHostCollection_h 8 #if defined ALPAKA_ACC_CPU_B_SEQ_T_SEQ_ENABLED 11 #define ASSERT_DEVICE_MATCHES_HOST_COLLECTION(DEVICE_COLLECTION, HOST_COLLECTION) \ 12 static_assert(std::is_same_v<alpaka_serial_sync::DEVICE_COLLECTION, HOST_COLLECTION>, \ 13 "The device collection for the host device and the host collection must be the same type!"); 18 #define ASSERT_DEVICE_MATCHES_HOST_COLLECTION(DEVICE_COLLECTION, HOST_COLLECTION) 20 #endif // ALPAKA_ACC_CPU_B_SEQ_T_SEQ_ENABLED 22 #endif // HeterogeneousCore_AlpakaInterface_interface_AssertDeviceMatchesHostCollection_h