describe how gpu works