[gpu] Endian fix