Skip to content

Commit ec03b1f

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

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

src/mlir/Dialects/EnzymeXLA.jl

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,32 @@ function kernel_call(
188188
)
189189
end
190190

191+
function linalg_lu(
192+
input::Value;
193+
output::IR.Type,
194+
pivots::IR.Type,
195+
permutation::IR.Type,
196+
info::IR.Type,
197+
location=Location(),
198+
)
199+
op_ty_results = IR.Type[output, pivots, permutation, info]
200+
operands = Value[input,]
201+
owned_regions = Region[]
202+
successors = Block[]
203+
attributes = NamedAttribute[]
204+
205+
return create_operation(
206+
"enzymexla.linalg.lu",
207+
location;
208+
operands,
209+
owned_regions,
210+
successors,
211+
attributes,
212+
results=op_ty_results,
213+
result_inference=false,
214+
)
215+
end
216+
191217
function memref2pointer(source::Value; result::IR.Type, location=Location())
192218
op_ty_results = IR.Type[result,]
193219
operands = Value[source,]

0 commit comments

Comments
 (0)