confirm gpu and cpu have the same results