We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b10f0e8 commit 6e3c0c9Copy full SHA for 6e3c0c9
mlir/test/Catalyst/ConversionTest.mlir
@@ -160,13 +160,13 @@ module @test1 {
160
161
// call @callback_1([[ptr0]], [[ptr1]])
162
163
- %0 = bufferization.to_memref %arg0 : memref<f64>
+ %0 = bufferization.to_memref %arg0 : tensor<f64> to memref<f64>
164
%1 = bufferization.alloc_tensor() {memory_space = 0 : i64} : tensor<f64>
165
- %2 = bufferization.to_memref %1 : memref<f64>
+ %2 = bufferization.to_memref %1 : tensor<f64> to memref<f64>
166
167
168
catalyst.callback_call @callback_1(%0, %2) : (memref<f64>, memref<f64>) -> ()
169
- %3 = bufferization.to_tensor %2 : memref<f64>
+ %3 = bufferization.to_tensor %2 : memref<f64> to tensor<f64>
170
return %3 : tensor<f64>
171
}
172
0 commit comments