   ASSERT_EQUAL(v[3], 16);
   ASSERT_EQUAL(v[4], 18);
 }
+
+void TestSequenceDeviceSeq()
+{
+  TestSequenceDevice(thrust::seq);
+}
 DECLARE_UNITTEST(TestSequenceDeviceSeq);
 
+void TestSequenceDeviceDevice()
+{
+  TestSequenceDevice(thrust::device);
+}
+DECLARE_UNITTEST(TestSequenceDeviceDevice);
+

  ASSERT_EQUAL(v[3], 13);
  ASSERT_EQUAL(v[4], 14);
  
  sequence_kernel<<<1,1>>>(v.begin(), v.end(), 10, 2);
  
  ASSERT_EQUAL(v[0], 10);
  ASSERT_EQUAL(v[1], 12);

  ASSERT_EQUAL(v[3], 3);
  ASSERT_EQUAL(v[4], 4);
  
  sequence_kernel<<<1,1>>>(exec, v.begin(), v.end(), 10);
  
  ASSERT_EQUAL(v[0], 10);
  ASSERT_EQUAL(v[1], 11);
