ckolivas/cgminer — pull request #69 by luke-jr (2012-01-09 01:11:35+00:00)
Title: Refactor to abstract device-specific code

This creates a new, abstract device API, to make cgminer easy to extend to various/new devices. This brings various changes that were made to the GPU thread code into the CPU miner. It also fixes a bug where shares found on old GPU work were discarded when it switched to a new work. There is also a new --remove-disabled option so users can avoid interaction with other devices than the ones they choose completely.

I have tested it under both CPU mining and GPU mining, and both appear to be fully functional (including performance-wise) compared to before the refactoring.