File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
utils/bazel/llvm-project-overlay/mlir/python Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -632,6 +632,34 @@ filegroup(
632632 ],
633633)
634634
635+ ##---------------------------------------------------------------------------##
636+ # OpenACC dialect.
637+ ##---------------------------------------------------------------------------##
638+
639+ gentbl_filegroup (
640+ name = "OpenACCOpsPyGen" ,
641+ tbl_outs = {"mlir/dialects/_acc_ops_gen.py" : [
642+ "-gen-python-op-bindings" ,
643+ "-bind-dialect=acc" ,
644+ ]},
645+ tblgen = "//mlir:mlir-tblgen" ,
646+ td_file = "mlir/dialects/OpenACCOps.td" ,
647+ deps = [
648+ "//mlir:BuiltinDialectTdFiles" ,
649+ "//mlir:OpBaseTdFiles" ,
650+ "//mlir:OpenAccOpsTdFiles" ,
651+ "//mlir:SideEffectInterfacesTdFiles" ,
652+ ],
653+ )
654+
655+ filegroup (
656+ name = "OpenACCOpsPyFiles" ,
657+ srcs = [
658+ "mlir/dialects/openacc.py" ,
659+ ":OpenACCOpsPyGen" ,
660+ ],
661+ )
662+
635663##---------------------------------------------------------------------------##
636664# OpenMP dialect.
637665##---------------------------------------------------------------------------##
You can’t perform that action at this time.
0 commit comments