diff --git a/include/mlir-hlo/Dialect/mhlo/IR/lhlo_gpu_ops.td b/include/mlir-hlo/Dialect/mhlo/IR/lhlo_gpu_ops.td index b3708bf..4613627 100644 --- a/include/mlir-hlo/Dialect/mhlo/IR/lhlo_gpu_ops.td +++ b/include/mlir-hlo/Dialect/mhlo/IR/lhlo_gpu_ops.td @@ -202,9 +202,9 @@ def LHLOGPU_CholeskyOp : LHLOGPU_Op<"cholesky"> { let arguments = (ins Arg:$input, Arg:$output, - Arg:$scratch, + Arg:$scratch, Arg:$info, - BoolAttr:$is_upper); + BoolAttr:$is_lower); } #endif // LHLO_GPU_OPS diff --git a/tests/lhlo_gpu_ops.mlir b/tests/lhlo_gpu_ops.mlir index 9e5ce67..a939cab 100644 --- a/tests/lhlo_gpu_ops.mlir +++ b/tests/lhlo_gpu_ops.mlir @@ -93,7 +93,7 @@ func @gemm_bias(%lhs: memref<5x4xf32>, %rhs: memref<4x5xf32>, func @cholesky(%arg : memref<10x10xf32>, %out: memref<10x10xf32>) { %scratch = alloc() : memref<32xi8> %info = alloc() : memref<32xi32> - "lmhlo_gpu.cholesky"(%arg, %out, %scratch, %info) { is_upper = true } + "lmhlo_gpu.cholesky"(%arg, %out, %scratch, %info) { is_lower = true } : (memref<10x10xf32>, memref<10x10xf32>, memref<32xi8>, memref<32xi32>) -> () return }