Sean Silva
1ef8b91a95
Add -DCMAKE_EXPORT_COMPILE_COMMANDS=TRUE
...
This allows VSCode (and presumably other IDE's) to pick up a
`tools/cmake_configure.sh`'ed build directory and have intellisense.
2020-05-11 12:58:42 -07:00
Sean Silva
e29aef855b
Initial TCF/TCP E2E seed.
...
Very much WIP.
This is enough to get tcf.add down to approximately the "linalg.generic
on buffers" level of abstraction. (but there are nuances)
2020-05-08 20:20:41 -07:00
Sean Silva
f394e12d86
Add tools/test_all.sh
...
We should look into having a `ninja check-npcomp` that runs everything
with lit so that we get decent test multithreading.
We can look to how LLVM does its gtest tests ("unittests") for
inspiration.
2020-05-08 18:13:19 -07:00
Stella Laurenzo
497f1de5a2
Add env var to enable experimental numpy array function handling.
2020-05-08 14:21:43 -07:00
Stella Laurenzo
0092b912ab
Update all python imports to be absolute and use a .env file to set the path correctly.
...
This makes things just work for debugging in VSCode.
2020-05-06 23:25:04 -07:00
Stella Laurenzo
502ef8f195
Create skeleton for 'Basicpy' dialect.
...
* It is time to start adding more python mechanisms.
* Running into this for materializing slice() objects.
2020-05-04 17:48:02 -07:00
Stella Laurenzo
67d38db1e2
Start defining new IR bindings and cleanup python init.
2020-04-30 16:00:00 -07:00
Stella Laurenzo
d3632af675
Add !numpy.any_dtype dialect type.
2020-04-29 18:20:42 -07:00
Stella Laurenzo
c4a192d5c9
Rename from npcomp::NUMPY to NPCOMP::numpy to follow IREE convention.
2020-04-29 17:10:10 -07:00
Stella Laurenzo
f174c0557b
Cleanup build instructions/scripts
2020-04-29 17:05:45 -07:00
Stella Laurenzo
03cf785bae
Remove linker detection
2020-04-29 16:33:48 -07:00
Stella Laurenzo
e845db8a20
Add builtin_ufunc and generic_ufunc ops.
2020-04-28 23:51:54 -07:00
Stella Laurenzo
f514bd533d
Add a helper run_lit.sh for interactive debugging.
2020-04-26 18:41:44 -07:00
Stella Laurenzo
953ef89a30
Add npcomp-opt and lit runner.
2020-04-26 17:55:15 -07:00
Stella Laurenzo
36717e97e1
Adapt to use installed MLIR
2020-04-26 16:26:45 -07:00
Stella Laurenzo
846178dc09
Add script to do a local build/install of MLIR.
2020-04-26 16:12:27 -07:00