This repository was archived by the owner on Mar 20, 2023. It is now read-only.
Commit 554c250
authored
Make legacy scopmath solvers header only, drop kinderiv.py and dimplic.cpp (#809)
* Solvers used for derivimplicit, sparse and euler methods were
compiled as a separate library. These solvers were called from
generated .mod to .cpp files.
* But as GPU programming models don't support function pointers,
we use a very convoluted way via macros (+ _kinderiv.py) to achieve
similar functionality as function pointers. This also needed to use
`acc routine seq` for all the solver routines. But this is not compatible
when we want to support shared libraries for python wheels (see #141)
* With this PR we make all solvers inline-able by making them part of headers
* Finally drop kinderiv.py !
* Drop acc routine seq
* Reallocate net receive buffers using ecalloc_align/free_memory for consistency.
* fix-up test, update submodules
* Make the NetReceiveBuffer initial size at least 8.1 parent a964c7a commit 554c250
File tree
26 files changed
+1218
-1754
lines changed- coreneuron
- apps
- gpu
- io
- mechanism/mech
- cfile
- network
- sim/scopmath
- external
- extra
- tests/unit/cmdline_interface
26 files changed
+1218
-1754
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
| 34 | + | |
| 35 | + | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | | - | |
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 51 | | |
61 | 52 | | |
62 | 53 | | |
| |||
66 | 57 | | |
67 | 58 | | |
68 | 59 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 60 | | |
78 | 61 | | |
79 | 62 | | |
80 | 63 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 64 | + | |
| 65 | + | |
86 | 66 | | |
87 | 67 | | |
88 | 68 | | |
| |||
150 | 130 | | |
151 | 131 | | |
152 | 132 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | 133 | | |
165 | 134 | | |
166 | 135 | | |
| |||
275 | 244 | | |
276 | 245 | | |
277 | 246 | | |
278 | | - | |
279 | | - | |
280 | | - | |
| 247 | + | |
281 | 248 | | |
282 | 249 | | |
283 | 250 | | |
| |||
400 | 367 | | |
401 | 368 | | |
402 | 369 | | |
403 | | - | |
404 | | - | |
| 370 | + | |
405 | 371 | | |
406 | 372 | | |
407 | 373 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
188 | 187 | | |
189 | 188 | | |
190 | 189 | | |
191 | 190 | | |
192 | 191 | | |
193 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
194 | 202 | | |
195 | 203 | | |
196 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | | - | |
630 | | - | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
631 | 642 | | |
632 | | - | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
639 | 649 | | |
640 | 650 | | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | 651 | | |
645 | 652 | | |
646 | 653 | | |
647 | 654 | | |
648 | | - | |
649 | | - | |
| 655 | + | |
650 | 656 | | |
651 | | - | |
| 657 | + | |
652 | 658 | | |
653 | 659 | | |
654 | | - | |
| 660 | + | |
655 | 661 | | |
656 | 662 | | |
657 | | - | |
| 663 | + | |
658 | 664 | | |
659 | 665 | | |
660 | | - | |
| 666 | + | |
661 | 667 | | |
662 | 668 | | |
663 | | - | |
| 669 | + | |
664 | 670 | | |
665 | 671 | | |
666 | | - | |
| 672 | + | |
667 | 673 | | |
668 | 674 | | |
669 | 675 | | |
| |||
947 | 953 | | |
948 | 954 | | |
949 | 955 | | |
950 | | - | |
951 | | - | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
952 | 961 | | |
953 | 962 | | |
954 | 963 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
| 485 | + | |
| 486 | + | |
491 | 487 | | |
492 | 488 | | |
493 | 489 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments