buggy naive gpu code