[Mlir-commits] [mlir] [MLIR] Setting MemorySpace During Bufferization + Fixes (PR #78484)

ian Bearman llvmlistbot at llvm.org
Tue Feb 6 08:14:52 PST 2024


================
@@ -351,6 +349,11 @@ struct BufferizationOptions {
   /// used.
   UnknownTypeConverterFn unknownTypeConverterFn = nullptr;
 
+  // Use during type conversion to determine the memory space for memref based
+  // on the originanl tensor type if the memory space cannot be inferred.
+  DefaultMemorySpaceFn defaultMemorySpaceFn =
----------------
manbearian wrote:

comment updated

https://github.com/llvm/llvm-project/pull/78484


More information about the Mlir-commits mailing list