cpu version matches nvidia version
working on hist