This is a WIP to add a computation kernels package, focused on moving known hotspots from TVB's Python code into C. The set of kernels is for the moment purposefully small, covering just the delay-coupling calculation, in order to move through the whole integration, packaging & deploy process prior to achieving broader coverage.
While the kernels package will have wheels on every relevant platform, a basic NumPy fallback implementation will be maintained, with a primary goal of testing correctness.
The PR add a workflow to do standard pip-based build as well as a spack based build in anticipation of ebrains integration, but here's a few things required before a merge:
[ ] add use of coupling kernels in TVB w/ benchmarks
This is a WIP to add a computation kernels package, focused on moving known hotspots from TVB's Python code into C. The set of kernels is for the moment purposefully small, covering just the delay-coupling calculation, in order to move through the whole integration, packaging & deploy process prior to achieving broader coverage.
While the kernels package will have wheels on every relevant platform, a basic NumPy fallback implementation will be maintained, with a primary goal of testing correctness.
The PR add a workflow to do standard pip-based build as well as a spack based build in anticipation of ebrains integration, but here's a few things required before a merge: