cpu and gpu have the same output, only some functions are used