File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,32 @@ function kernel_call(
188
188
)
189
189
end
190
190
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
+
191
217
function memref2pointer (source:: Value ; result:: IR.Type , location= Location ())
192
218
op_ty_results = IR. Type[result,]
193
219
operands = Value[source,]
You can’t perform that action at this time.
0 commit comments