BFGMiner – an intermediate miner for ASIC and FPGA, with some support for CPU/GPU