     thrust::lower_bound(d_vec.begin(), d_vec.end(), d_input.begin(), d_input.end(), d_output.begin());
 
     ASSERT_ALMOST_EQUAL(h_output, d_output);
+#endif
   }
 };
 VariableUnitTest<TestVectorLowerBound, NumericTypes> TestVectorLowerBoundInstance;

{
  void operator()(const size_t n)
  {
    thrust::host_vector<T>   h_vec = thrusttest::random_integers<T>(n);
    thrust::device_vector<T> d_vec = h_vec;


    thrust::upper_bound(d_vec.begin(), d_vec.end(), d_input.begin(), d_input.end(), d_output.begin());

    ASSERT_ALMOST_EQUAL(h_output, d_output);
#endif
  }
};
VariableUnitTest<TestVectorUpperBound, NumericTypes> TestVectorUpperBoundInstance;
