coduin / epiphany-bsp

BSP implementation for the Parallella; the world's smallest supercomputer
https://jwbuurlage.github.io/epiphany-bsp/
GNU General Public License v3.0
27 stars 14 forks source link

When we implement `ebsp_broadcast` , use multicast routing #20

Closed Tombana closed 9 years ago

Tombana commented 9 years ago

See section 5.7 of the Epiphany Architecture Reference. The epiphany cores have a special set of assembly instructions allowing data-writes to every mesh in the network. A user could implement bsp_broadcast by calling bsp_put in a loop, but instead we can have an optimized ebsp_broadcast version that does the write operation with only a single multicast instruction.