 
 };
 
+// This helper function reates a range_view from iterator and the number of
+// elements
 template <class Iterator, class Size>
 range_view<Iterator>
 __host__ __device__

  }
};

template<class View1, class View2, class View3>
__host__ __device__
void saxpy(float A, View1 X, View2 Y, View3 Z)

  return range_view<Iterator>(first, last);
}

// This saxpy functor stores view of X, Y, Z array, and accesses them in
// vector-like way
template<class View1, class View2, class View3>
struct saxpy_functor : public thrust::unary_function<int,void>
{
