   
   T exemplar(7);
   
-  uninitialized_fill_kernel<<<1,1>>>(v.begin() + 1, v.begin() + 4, exemplar);
+  uninitialized_fill_kernel<<<1,1>>>(exec, v.begin() + 1, v.begin() + 4, exemplar);
   
   ASSERT_EQUAL(v[0], 0);
   ASSERT_EQUAL(v[1], exemplar);

  
  exemplar = 1;
  
  uninitialized_fill_n_kernel<<<1,1>>>(v.begin(), v.size(), exemplar, iter_vec.begin());
  iter = iter_vec[0];
  
  ASSERT_EQUAL(v[0], exemplar);

#include <thrust/execution_policy.h>


template<typename ExecutionPolicy, typename Iterator, typename T>
__global__
void uninitialized_fill_kernel(ExecutionPolicy exec, Iterator first, Iterator last, T val)
{
  thrust::uninitialized_fill(exec, first, last, val);
}


template<typename ExecutionPolicy>
void TestUninitializedFillDevice(ExecutionPolicy exec)
{
  typedef thrust::device_vector<int> Vector;
  typedef Vector::value_type T;
