 public:
   static const int ndim = 0;
 
-  __device__ int size() const {
+  __device__ ptrdiff_t size() const {
     return size_;
   }
 

public:
  static const int ndim = 0;

  __device__ int size() const {
    return size_;
  }


  ptrdiff_t strides_[ndim];

public:
  __device__ ptrdiff_t size() const {
    return size_;
  }

