rebase from perft_gpu

copy latest code from perft_gpu project
233 mnps on core 2 @ 3GHz for best case position