Replace spurious `long` stride type by int64_t - NFC
authorNicolas Vasilache <ntv@google.com>
Wed, 2 Oct 2019 13:36:52 +0000 (06:36 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Wed, 2 Oct 2019 13:37:40 +0000 (06:37 -0700)
PiperOrigin-RevId: 272425434

mlir/tools/mlir-cuda-runner/cuda-runtime-wrappers.cpp

index 5326306..9e035f8 100644 (file)
@@ -85,7 +85,7 @@ template <typename T, int N> struct MemRefType {
   T *data;
   int64_t offset;
   int64_t sizes[N];
-  long strides[N];
+  int64_t strides[N];
 };
 
 // Allows to register a pointer with the CUDA runtime. Helpful until