Open hunse opened 4 years ago
The larger packet size 825a680 fixes #254.
Just a comment that you need to do:
sudo apt-get install g++-arm-linux-gnueabihf
to get the host snips to compile. Might be something to add to the documentation (it might already be in the nxsdk docs though).
I've added a number more commits to make things faster for learning specifically.
a384ca2 takes advantage of nengo/nengo#1581 to not do checking on the outputs of our internal nodes (from builder/inputs.py
), since we control the outputs of these nodes and can ensure they're safe.
6e49272 is the one I'm least sure about, since it does add a one time-step delay between host and chip (I think), but with the benefit that host and chip can be running at the same time so things are faster. It might be nice to have a way to turn this on or off.
since it does add a one time-step delay between host and chip (I think), but with the benefit that host and chip can be running at the same time so things are faster. It might be nice to have a way to turn this on or off.
Can this be generalized in the same way as https://github.com/ctn-waterloo/nengo_brainstorm/pull/22 in particular by allowing multiple steps of delay to buffer on both the input and/or output sides while things run asynchronously? This would be to generalize cases for both before and after this change.
It could be generalized (that's what #26 was doing way back in the day), but that's using a different mechanism (we actually buffer things), rather than just having the chip and superhost running at the same time. And even if we buffer, there would still be a performance advantage in running the chip and superhost at the same time. So I think they're independent features.
This PR makes a number of changes that speed up superhost <-> chip communication:
TODO: