A. R. Shajii
9b73bc0da3
OpenMP updates ( #30 )
...
* Support task-based reductions (wip)
* Fix task-based reductions (wip)
* Fix local reduction var reference
* Fix shared info access
* Fix reductions
* Add more tests for float reductions
* Update test
* Update test
* Add corner case tests
* Add nested par tests
* Add barrier to match clang's codegen
* Refactor to remove duplicated code
* Fix GC root registration via OpenMP patch
* Update deps.cmake
* Debug
* Debug
* Update thread registration with GC
* Update OpenMP
* Update OpenMP to new master
2022-06-06 19:31:48 -04:00
A. R. Shajii
7114f3430a
Fix ref type construction in IR
2022-05-20 20:44:49 -04:00
Ibrahim Numanagić
c33eda9353
Fix JIT state on error
2022-05-20 10:27:29 -07:00
A. R. Shajii
f9f4fb1b26
Don't publish empty output; remove magic number ( #27 )
2022-04-23 17:14:26 -04:00
A. R. Shajii
753151157d
Py interop fix ( #23 )
...
* Fix incref/decref
* Fixes
* Fix set __to_py__
* Add more Python conversion tests
* clang-format
* Make from_py/to_py use cobj instead of pyobj
* Remove unneeded increfs
* Fix cython
* Ignore __init_test__ in doc generation
* Add exception check
Co-authored-by: Ishak Numanagić <ishak.numanagic@gmail.com>
Co-authored-by: Ibrahim Numanagić <ibrahimpasa@gmail.com>
2022-04-07 00:33:49 -04:00
Ibrahim Numanagić
12e8fe7666
@codon Python decorator and Python interop fixes ( #19 )
...
* Codon decorator
* Move to extra/cython, add error handling
* Small fixes
* CR
* CR
* Fix cython CI
* Fix cython CI v2
* Fix cython CI v3
* Fix cython CI v4
* Fix cython CI v5
* Fix cython CI v6
* Fix cython CI v7
* Fix cython CI v8
* Fix cython CI v9
* Fix cython CI v10
* Fix cython CI v11
* CR
* Fix CI
* Fix CI
* Fix CI
* Fix CI
* Fix CI
Co-authored-by: Ishak Numanagić <ishak.numanagic@gmail.com>
2022-03-31 10:22:26 +02:00
A. R. Shajii
b47a9a844b
Jupyter quanto fixes ( #22 )
...
* Add methods to check for passes/analyses
* Fix xeus build
* clang-format
* Optimize JIT
* Allow jit mode to take data from file
* Fix OpenMP in JIT mode
* Update JIT main
* Update cloning
Co-authored-by: Ibrahim Numanagić <ibrahimpasa@gmail.com>
2022-03-19 10:29:41 -04:00
Ibrahim Numanagić
8bffbc88a5
Merge pull request #13 from exaloop/isnumanagic/stdlib
...
Standard library review
2022-02-28 13:33:32 -08:00
Ishak Numanagić
1f247f0bfd
Use new @overload decorator
2022-02-28 21:30:59 +01:00
Ishak Numanagić
5e3bd15495
CR pt. 2
2022-02-28 21:21:46 +01:00
Ishak Numanagić
8d72ff8cfa
CR pt. 1
2022-02-28 21:21:46 +01:00
Ishak Numanagić
ce268c81a3
Add get/set state to random lib
2022-02-28 21:07:53 +01:00
Ishak Numanagić
ac6fa3275b
Fix timsort
2022-02-28 21:07:53 +01:00
Ishak Numanagić
7af800565c
test/stdlib/*
2022-02-28 21:07:53 +01:00
Ishak Numanagić
f7a7dbfd05
stdlib/unittest.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
6fa7c821d5
stdlib/time.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
cb8384a019
stdlib/threading.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
c5f96cd5e8
stdlib/sys.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
390f2ac099
stdlib/string.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
cfc0f563f1
stdlib/statistics.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
76e025305c
stdlib/sortedlist.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
191da796c7
stdlib/random.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
4171d553d9
stdlib/pickle.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
928d2a0c56
stdlib/os/path.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
808e932685
stdlib/os/__init__.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
c567842554
stdlib/operator.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
06c88aa092
stdlib/openmp.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
ffc4d83b01
stdlib/math.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
9c36a5df14
stdlib/itertools.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
0b1b6a6450
stdlib/internal/types/collections/set.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
2d707e35a2
stdlib/internal/types/collections/list.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
5bfc46d1b5
stdlib/internal/types/collections/dict.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
a306ce7c82
stdlib/internal/types/str.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
e9a841a471
stdlib/internal/types/slice.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
ea7477cfd0
stdlib/internal/types/range.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
2871013247
stdlib/internal/types/ptr.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
52ecba78ba
stdlib/internal/types/optional.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
06af65b403
stdlib/internal/types/intn.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
f67799da90
stdlib/internal/types/int.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
da5fe988ac
stdlib/internal/types/generator.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
252ad8408a
stdlib/internal/types/float.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
25c35f8466
stdlib/internal/types/error.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
8b8c5a8729
stdlib/internal/types/complex.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
eda3b38beb
stdlib/internal/types/byte.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
c5d5e254cf
stdlib/internal/types/bool.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
5815686f54
stdlib/internal/str.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
4e59779aa8
stdlib/internal/sort.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
1adc29a9f7
stdlib/internal/python.codon
2022-02-28 21:07:53 +01:00
Ishak Numanagić
f8e29e2a3a
stdlib/internal/khash.codon
2022-02-28 20:57:12 +01:00
Ishak Numanagić
eee893b32a
stdlib/internal/internal.codon
2022-02-28 20:57:12 +01:00