MechABI Prelim: Add parameter packs for multicore (#1406)
- Use parameter packs for multicore mechanisms. - Adjust unit tests and modcc. - CPU and GPU use the same mechanism_ppack_base. - CPU code uses a split similar to GPU with `mech_XYZ_foo` and `kernel::mech_XYZ_foo. - Make mechanism_ppack_base header public. - Tracing macros for modcc code gen.
Showing
- arbor/backends/gpu/mechanism.cpp 2 additions, 2 deletionsarbor/backends/gpu/mechanism.cpp
- arbor/backends/gpu/mechanism.cu 1 addition, 6 deletionsarbor/backends/gpu/mechanism.cu
- arbor/backends/gpu/mechanism.hpp 1 addition, 66 deletionsarbor/backends/gpu/mechanism.hpp
- arbor/backends/multicore/mechanism.cpp 38 additions, 36 deletionsarbor/backends/multicore/mechanism.cpp
- arbor/backends/multicore/mechanism.hpp 7 additions, 70 deletionsarbor/backends/multicore/mechanism.hpp
- arbor/include/arbor/mechanism.hpp 48 additions, 6 deletionsarbor/include/arbor/mechanism.hpp
- arbor/include/arbor/mechanism_ppack.hpp 1 addition, 13 deletionsarbor/include/arbor/mechanism_ppack.hpp
- doc/fileformat/nmodl.rst 5 additions, 3 deletionsdoc/fileformat/nmodl.rst
- modcc/CMakeLists.txt 1 addition, 0 deletionsmodcc/CMakeLists.txt
- modcc/modcc.cpp 11 additions, 9 deletionsmodcc/modcc.cpp
- modcc/printer/cexpr_emit.cpp 28 additions, 9 deletionsmodcc/printer/cexpr_emit.cpp
- modcc/printer/cexpr_emit.hpp 1 addition, 0 deletionsmodcc/printer/cexpr_emit.hpp
- modcc/printer/cprinter.cpp 262 additions, 194 deletionsmodcc/printer/cprinter.cpp
- modcc/printer/gpuprinter.cpp 6 additions, 6 deletionsmodcc/printer/gpuprinter.cpp
- modcc/printer/marks.cpp 3 additions, 0 deletionsmodcc/printer/marks.cpp
- modcc/printer/marks.hpp 19 additions, 0 deletionsmodcc/printer/marks.hpp
- modcc/printer/printeropt.hpp 2 additions, 0 deletionsmodcc/printer/printeropt.hpp
- test/unit-modcc/test_printers.cpp 21 additions, 21 deletionstest/unit-modcc/test_printers.cpp
- test/unit/test_mechcat.cpp 11 additions, 6 deletionstest/unit/test_mechcat.cpp
- test/unit/test_synapses.cpp 7 additions, 7 deletionstest/unit/test_synapses.cpp
Please register or sign in to comment