summaryrefslogtreecommitdiffstats
path: root/mlir/tools
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/tools')
-rw-r--r--mlir/tools/mlir-cuda-runner/cuda-runtime-wrappers.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/mlir/tools/mlir-cuda-runner/cuda-runtime-wrappers.cpp b/mlir/tools/mlir-cuda-runner/cuda-runtime-wrappers.cpp
index 9e035f81f91..31b6f6f6209 100644
--- a/mlir/tools/mlir-cuda-runner/cuda-runtime-wrappers.cpp
+++ b/mlir/tools/mlir-cuda-runner/cuda-runtime-wrappers.cpp
@@ -82,6 +82,7 @@ extern "C" int32_t mcuStreamSynchronize(void *stream) {
// A struct that corresponds to how MLIR represents memrefs.
template <typename T, int N> struct MemRefType {
+ T *basePtr;
T *data;
int64_t offset;
int64_t sizes[N];
OpenPOWER on IntegriCloud