Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: dga on December 31, 2016, 04:19:00 PM



Title: Optimizing CPU miners using Intel's ISPC (writeup of some old optimizations)
Post by: dga on December 31, 2016, 04:19:00 PM
A few years ago, when I wrote the GPU miner for Protoshares/Momentum, I also released a CPU version (which has since had its butt kicked by @yvg1900's, naturally).

For others interested in CPU miner optimization, I wrote up a little post about one of the tricks I used to write it -- intel's fairly un-heralded parallelizing compiler, ISPC:

https://da-data.blogspot.com/2016/12/accelerating-cryptocurrency-mining-with.html

There's no reason it doesn't apply to other currencies where there's not a hand-optimized AVX2 implementation of the crypto.

Cheers!