Skip to content

Commit

Permalink
fixfix alloc kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
jorendumoulin committed Jan 20, 2025
1 parent cfc1ac9 commit a5d15db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kernels/alloc/func.mlir
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
func.func public @simple_alloc() -> (memref<10xi32, 1 : i32>) {
%alloc = "memref.alloc"() {"alignment" = 256 : i64, operand_segment_sizes = array<i32: 0, 0>} : () -> memref<10xi32, 1 : i32>
return %alloc : memref<10xi32, 1 : i32>
func.func public @simple_alloc() -> memref<10xi32, 1 : i32> {
%alloc = memref.alloc() {alignment = 256 : i64} : memref<10xi32, 1 : i32>
return %alloc : memref<10xi32, 1 : i32>
}

0 comments on commit a5d15db

Please sign in to comment.