8000 MAINT: Split einsum into multiple files · numpy/numpy@f7df11c · GitHub
[go: up one dir, main page]

Skip to content

Commit f7df11c

Browse files
committed
MAINT: Split einsum into multiple files
Putting the sumprod stuff in a separate file makes a handful of open PRs easier to review. The only changes to the large diffs here are: * Some defines and typedefs moved to headers * `NPY_VISIBILITY_HIDDEN` was added to the one function used from `sumprod`
1 parent 64619c5 commit f7df11c

File tree

5 files changed

+1942
-1893
lines changed

5 files changed

+1942
-1893
lines changed

numpy/core/setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,8 @@ def get_mathlib_info(*args):
790790
join('src', 'multiarray', 'descriptor.h'),
791791
join('src', 'multiarray', 'dtypemeta.h'),
792792
join('src', 'multiarray', 'dragon4.h'),
793+
join('src', 'multiarray', 'einsum_debug.h'),
794+
join('src', 'multiarray', 'einsum_sumprod.h'),
793795
join('src', 'multiarray', 'getset.h'),
794796
join('src', 'multiarray', 'hashdescr.h'),
795797
join('src', 'multiarray', 'iterators.h'),
@@ -853,6 +855,7 @@ def get_mathlib_info(*args):
853855
join('src', 'multiarray', 'dragon4.c'),
854856
join('src', 'multiarray', 'dtype_transfer.c'),
855857
join('src', 'multiarray', 'einsum.c.src'),
858+
join('src', 'multiarray', 'einsum_sumprod.c.src'),
856859
join('src', 'multiarray', 'flagsobject.c'),
857860
join('src', 'multiarray', 'getset.c'),
858861
join('src', 'multiarray', 'hashdescr.c'),

0 commit comments

Comments
 (0)
0