ned Productions – Sha256

by . Last updated . This page has been accessed 4 times since the 2nd April 2019.

Wednesday 27th November 2013: 3.52am. Link shared: Was very pleased today with my fourth attempt at an asynchronous batch hash engine for Boost.AFIO which can schedule digest hashing of arbitrary length texts to all SIMD streams on all CPU cores (with a preference for filling SIMD streams before CPU cores). Getting the scheduler design right was quite tricky, because as individual hash operations end, the tail operations from the end of the scheduled batch need moving downwards to fill holes such that individual SIMD streams in CPUs aren't doing useless work, and this must be done while each CPU core runs entirely independently from the others (a CPU core only breaks processing if one stream runs out of data) so getting the locking semantics correct was non-trivial.

Contact the webmaster: Niall Douglas @ webmaster2<at symbol> (Last updated: 2013-11-27 03:52:15 +0000 UTC)