diff --git a/mlir/include/mlir/ExecutionEngine/CRunnerUtils.h b/mlir/include/mlir/ExecutionEngine/CRunnerUtils.h --- a/mlir/include/mlir/ExecutionEngine/CRunnerUtils.h +++ b/mlir/include/mlir/ExecutionEngine/CRunnerUtils.h @@ -312,7 +312,7 @@ explicit DynamicMemRefType(const StridedMemRefType &memRef) : rank(N), basePtr(memRef.basePtr), data(memRef.data), offset(memRef.offset), sizes(memRef.sizes), strides(memRef.strides) {} - explicit DynamicMemRefType(const UnrankedMemRefType &memRef) + explicit DynamicMemRefType(const ::UnrankedMemRefType &memRef) : rank(memRef.rank) { auto *desc = static_cast *>(memRef.descriptor); basePtr = desc->basePtr; @@ -334,8 +334,8 @@ // Small runtime support library for memref.copy lowering during codegen. //===----------------------------------------------------------------------===// extern "C" MLIR_CRUNNERUTILS_EXPORT void -memrefCopy(int64_t elemSize, UnrankedMemRefType *src, - UnrankedMemRefType *dst); +memrefCopy(int64_t elemSize, ::UnrankedMemRefType *src, + ::UnrankedMemRefType *dst); //===----------------------------------------------------------------------===// // Small runtime support library for vector.print lowering during codegen.