Fixed compilation problems on CUDA for scaled rank-1 updates.