Skip to content

Commit

Permalink
check in TUs
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental committed Dec 29, 2024
1 parent 18f0e23 commit ee66b87
Show file tree
Hide file tree
Showing 49 changed files with 647 additions and 190 deletions.
53 changes: 49 additions & 4 deletions projects/eudsl-py/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,51 @@ nanobind_add_module(eudslpy_ext
NB_STATIC
NB_DOMAIN eudsl
src/eudslpy_ext.cpp
src/EUDSLGenacc.inc.cpp
src/EUDSLGenaffine.inc.cpp
src/EUDSLGenamdgpu.inc.cpp
src/EUDSLGenamx.inc.cpp
src/EUDSLGenarith.inc.cpp
src/EUDSLGenarm_neon.inc.cpp
src/EUDSLGenarm_sme.inc.cpp
src/EUDSLGenarm_sve.inc.cpp
src/EUDSLGenasync.inc.cpp
src/EUDSLGenbufferization.inc.cpp
src/EUDSLGencf.inc.cpp
src/EUDSLGencomplex.inc.cpp
src/EUDSLGenDLTIDialect.inc.cpp
# src/EUDSLGenemitc.inc.cpp
src/EUDSLGenfunc.inc.cpp
src/EUDSLGengpu.inc.cpp
src/EUDSLGenindex.inc.cpp
# src/EUDSLGenirdl.inc.cpp
# src/EUDSLGenlinalg.inc.cpp
# src/EUDSLGenLLVM.inc.cpp
src/EUDSLGenmath.inc.cpp
src/EUDSLGenmemref.inc.cpp
src/EUDSLGenmesh.inc.cpp
src/EUDSLGenml_program.inc.cpp
src/EUDSLGenmpi.inc.cpp
src/EUDSLGennvgpu.inc.cpp
src/EUDSLGenNVVM.inc.cpp
# src/EUDSLGenomp.inc.cpp
src/EUDSLGenpdl.inc.cpp
src/EUDSLGenpdl_interp.inc.cpp
src/EUDSLGenpolynomial.inc.cpp
src/EUDSLGenptr.inc.cpp
src/EUDSLGenquant.inc.cpp
src/EUDSLGenROCDL.inc.cpp
# src/EUDSLGenscf.inc.cpp
# src/EUDSLGenshape.inc.cpp
src/EUDSLGensparse_tensor.inc.cpp
# src/EUDSLGenspirv.inc.cpp
src/EUDSLGentensor.inc.cpp
src/EUDSLGentosa.inc.cpp
src/EUDSLGentransform.inc.cpp
src/EUDSLGenub.inc.cpp
# src/EUDSLGenvector.inc.cpp
src/EUDSLGenx86vector.inc.cpp
# src/EUDSLGenxegpu.inc.cpp
)
add_dependencies(eudslpy_ext
EUDSLGenacc
Expand All @@ -400,7 +445,7 @@ add_dependencies(eudslpy_ext
EUDSLGengpu
EUDSLGenindex
# EUDSLGenirdl
EUDSLGenlinalg
# EUDSLGenlinalg
# EUDSLGenLLVM
EUDSLGenmath
EUDSLGenmemref
Expand All @@ -416,10 +461,10 @@ add_dependencies(eudslpy_ext
EUDSLGenptr
EUDSLGenquant
EUDSLGenROCDL
EUDSLGenscf
EUDSLGenshape
# EUDSLGenscf
# EUDSLGenshape
EUDSLGensparse_tensor
EUDSLGenspirv
# EUDSLGenspirv
EUDSLGentensor
EUDSLGentosa
EUDSLGentransform
Expand Down
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenDLTIDialect.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populateDLTIDialectModule(nb::module_ &m) {
#include "EUDSLGenDLTIDialect.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenLLVM.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populateLLVMModule(nb::module_ &m) {
#include "EUDSLGenLLVM.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenNVVM.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populateNVVMModule(nb::module_ &m) {
#include "EUDSLGenNVVM.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenROCDL.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populateROCDLModule(nb::module_ &m) {
#include "EUDSLGenROCDL.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenacc.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populateaccModule(nb::module_ &m) {
#include "EUDSLGenacc.cpp.inc"
}
12 changes: 12 additions & 0 deletions projects/eudsl-py/src/EUDSLGenaffine.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

#include "mlir/InitAllDialects.h"
#include "mlir/IR/IntegerSet.h"
#include "mlir/Dialect/Affine/IR/AffineValueMap.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populateaffineModule(nb::module_ &m) {
#include "EUDSLGenaffine.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenamdgpu.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populateamdgpuModule(nb::module_ &m) {
#include "EUDSLGenamdgpu.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenamx.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populateamxModule(nb::module_ &m) {
#include "EUDSLGenamx.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenarith.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populatearithModule(nb::module_ &m) {
#include "EUDSLGenarith.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenarm_neon.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populatearm_neonModule(nb::module_ &m) {
#include "EUDSLGenarm_neon.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenarm_sme.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populatearm_smeModule(nb::module_ &m) {
#include "EUDSLGenarm_sme.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenarm_sve.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populatearm_sveModule(nb::module_ &m) {
#include "EUDSLGenarm_sve.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenasync.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populateasyncModule(nb::module_ &m) {
#include "EUDSLGenasync.cpp.inc"
}
11 changes: 11 additions & 0 deletions projects/eudsl-py/src/EUDSLGenbufferization.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

#include "mlir/InitAllDialects.h"
#include "mlir/Dialect/Bufferization/Transforms/Bufferize.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populatebufferizationModule(nb::module_ &m) {
#include "EUDSLGenbufferization.cpp.inc"
}
11 changes: 11 additions & 0 deletions projects/eudsl-py/src/EUDSLGencf.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

#include "mlir/InitAllDialects.h"
#include "mlir/Dialect/ControlFlow/IR/ControlFlowOps.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populatecfModule(nb::module_ &m) {
#include "EUDSLGencf.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGencomplex.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populatecomplexModule(nb::module_ &m) {
#include "EUDSLGencomplex.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenemitc.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populateemitcModule(nb::module_ &m) {
#include "EUDSLGenemitc.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenfunc.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populatefuncModule(nb::module_ &m) {
#include "EUDSLGenfunc.cpp.inc"
}
12 changes: 12 additions & 0 deletions projects/eudsl-py/src/EUDSLGengpu.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

#include "mlir/InitAllDialects.h"
#include "mlir/Target/LLVMIR/ModuleTranslation.h"
#include "llvm/IR/IRBuilder.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populategpuModule(nb::module_ &m) {
#include "EUDSLGengpu.cpp.inc"
}
11 changes: 11 additions & 0 deletions projects/eudsl-py/src/EUDSLGenindex.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

#include "mlir/InitAllDialects.h"
#include "mlir/Dialect/Index/IR/IndexOps.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populateindexModule(nb::module_ &m) {
#include "EUDSLGenindex.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenirdl.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populateirdlModule(nb::module_ &m) {
#include "EUDSLGenirdl.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenlinalg.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populatelinalgModule(nb::module_ &m) {
#include "EUDSLGenlinalg.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenmath.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populatemathModule(nb::module_ &m) {
#include "EUDSLGenmath.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenmemref.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populatememrefModule(nb::module_ &m) {
#include "EUDSLGenmemref.cpp.inc"
}
11 changes: 11 additions & 0 deletions projects/eudsl-py/src/EUDSLGenmesh.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

#include "mlir/InitAllDialects.h"
#include "mlir/Dialect/Mesh/IR/MeshOps.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populatemeshModule(nb::module_ &m) {
#include "EUDSLGenmesh.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenml_program.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populateml_programModule(nb::module_ &m) {
#include "EUDSLGenml_program.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGenmpi.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populatempiModule(nb::module_ &m) {
#include "EUDSLGenmpi.cpp.inc"
}
10 changes: 10 additions & 0 deletions projects/eudsl-py/src/EUDSLGennvgpu.inc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#include "mlir/InitAllDialects.h"
#include <nanobind/nanobind.h>
namespace nb = nanobind;
using namespace nb::literals;
using namespace mlir;
using namespace llvm;
void populatenvgpuModule(nb::module_ &m) {
#include "EUDSLGennvgpu.cpp.inc"
}
Loading

0 comments on commit ee66b87

Please sign in to comment.