#include #include #include "catch2_test_helper.h" template void check() { STATIC_REQUIRE(cuda::std::is_convertible_v); STATIC_REQUIRE(!cuda::std::is_convertible_v); STATIC_REQUIRE(cuda::std::is_same_v, SeqSystem>); STATIC_REQUIRE(cuda::std::is_same_v, SeqSystem>); } TEST_CASE("host and device systems convert to sequential", "[minimum_system]") { using seq = decltype(thrust::seq); using seq_tag = decltype(thrust::seq)::tag_type; using dev = decltype(thrust::device); using dev_tag = thrust::device_system_tag; using host = decltype(thrust::host); using host_tag = thrust::host_system_tag; check(); check(); check(); check(); check(); check(); }