#include #include #include #include template void TestPinnedAllocatorSimple(const size_t n) { typedef thrust::host_vector > Vector; Vector h_input = unittest::random_integers(n); Vector h_output(n); thrust::copy(h_input.begin(), h_input.end(), h_output.begin()); ASSERT_EQUAL(h_input, h_output); } DECLARE_VARIABLE_UNITTEST(TestPinnedAllocatorSimple);