Skip to content

Commit 15cc6be

Browse files
authored
ProbProg: make impulse.jl binding (#2833)
1 parent 9e39089 commit 15cc6be

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

deps/ReactantExtra/BUILD

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,6 +1672,24 @@ gentbl_cc_library(
16721672
],
16731673
)
16741674

1675+
gentbl_cc_library(
1676+
name = "ImpulseJLIncGen",
1677+
tbl_outs = [
1678+
(
1679+
[
1680+
"--generator=jl-op-defs",
1681+
"--disable-module-wrap=0",
1682+
],
1683+
"Impulse.jl",
1684+
),
1685+
],
1686+
tblgen = "//:mlir-jl-tblgen",
1687+
td_file = "@enzyme//:Enzyme/MLIR/Dialect/Impulse/ImpulseOps.td",
1688+
deps = [
1689+
"@enzyme//:ImpulseDialectTdFiles",
1690+
],
1691+
)
1692+
16751693
gentbl_cc_library(
16761694
name = "EnzymeXLAJLIncGen",
16771695
tbl_outs = [

deps/ReactantExtra/make-bindings.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ dialect_files = [
1616
"Func.jl",
1717
"Enzyme.jl",
1818
"EnzymeXLA.jl",
19+
"Impulse.jl",
1920
"StableHLO.jl",
2021
"CHLO.jl",
2122
"VHLO.jl",

0 commit comments

Comments
 (0)