Skip to content

Commit a3c35d4

Browse files
Regenerate MLIR Bindings (#1913)
Co-authored-by: enzyme-ci-bot[bot] <78882869+enzyme-ci-bot[bot]@users.noreply.github.com>
1 parent d18240d commit a3c35d4

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

src/mlir/Dialects/EnzymeXLA.jl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,11 @@ end
10741074
"""
10751075
`blas_syrk`
10761076
1077-
C := alpha*A*A^T + beta*C, or C := alpha*A^T*A + beta*C, where alpha and beta are scalars. C must be a n x n symmetric matrix.\"
1077+
C := alpha*A*A^T + beta*C, or C := alpha*A^T*A + beta*C, where alpha and beta are
1078+
scalars. C must be a n x n symmetric matrix.
1079+
1080+
If `fill` is present, then both the upper and lower triangles of the matrix are filled.
1081+
Otherwise the values in the non-uplo part of the matrix are undefined.
10781082
"""
10791083
function blas_syrk(
10801084
A::Value,
@@ -1084,6 +1088,7 @@ function blas_syrk(
10841088
output::IR.Type,
10851089
uplo,
10861090
transpose=nothing,
1091+
fill=nothing,
10871092
location=Location(),
10881093
)
10891094
op_ty_results = IR.Type[output,]
@@ -1092,6 +1097,7 @@ function blas_syrk(
10921097
successors = Block[]
10931098
attributes = NamedAttribute[namedattribute("uplo", uplo),]
10941099
!isnothing(transpose) && push!(attributes, namedattribute("transpose", transpose))
1100+
!isnothing(fill) && push!(attributes, namedattribute("fill", fill))
10951101

10961102
return create_operation(
10971103
"enzymexla.blas.syrk",

src/mlir/libMLIR_h.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11647,8 +11647,8 @@ function enzymexlaLapackSideAttrGet(ctx, left_side)
1164711647
)::MlirAttribute
1164811648
end
1164911649

11650-
function enzymexlaLapackUploAttrGet(ctx, up)
11651-
@ccall mlir_c.enzymexlaLapackUploAttrGet(ctx::MlirContext, up::UInt8)::MlirAttribute
11650+
function enzymexlaLapackUploAttrGet(ctx, mode)
11651+
@ccall mlir_c.enzymexlaLapackUploAttrGet(ctx::MlirContext, mode::Int32)::MlirAttribute
1165211652
end
1165311653

1165411654
function enzymexlaQRAlgorithmAttrGet(ctx, mode)

0 commit comments

Comments
 (0)