adamgreig / labrador-ldpc

LDPC encoding and decoding for Labrador
MIT License
35 stars 4 forks source link

Multi core encoding/decoding. #12

Open beckend opened 8 months ago

beckend commented 8 months ago

Is this possible?

adamgreig commented 8 months ago

It's not currently implemented. It would be simple to spread out encoding or decoding of entire codewords between cores, and since any single codeword will encode or decode pretty quickly on a desktop/server that has multiple cores, that's probably the best bet (and wouldn't need any changes to this library).

I don't know if you'll get much benefit from spreading the work on a single codeword out over multiple cores; it's certainly possible to implement (for example the MS decoder is two for-loops over the data which could be parallelised) but I haven't tried to.