We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f40960f commit f6ee849Copy full SHA for f6ee849
deps/ReactantExtra/API.cpp
@@ -364,6 +364,16 @@ enzymeActivityAttrGet(MlirContext ctx, int32_t val) {
364
(mlir::enzyme::Activity)val));
365
}
366
367
+extern "C" MLIR_CAPI_EXPORTED MlirType enzymeTraceTypeGet(MlirContext ctx) {
368
+ return wrap(mlir::enzyme::TraceType::get(unwrap(ctx)));
369
+}
370
+
371
+extern "C" MLIR_CAPI_EXPORTED MlirAttribute
372
+enzymeSymbolAttrGet(MlirContext ctx, uint64_t symbol) {
373
+ mlir::Attribute attr = mlir::enzyme::SymbolAttr::get(unwrap(ctx), symbol);
374
+ return wrap(attr);
375
376
377
extern "C" MLIR_CAPI_EXPORTED MlirAttribute enzymeConstraintAttrGet(
378
MlirContext ctx, uint64_t symbol, MlirAttribute values) {
379
mlir::Attribute vals = unwrap(values);
0 commit comments