Writing to mapped buffer

I have a question about mapped buffers. Let us assume that we have mapped some buffer to host memory with CL_MAP_WRITE flag, then we have altered content in mapped region from host. Will this change be applied to GPU memory? And if it will, this change will be applied right now or after unmapping the buffer?