Add support for 1d coord updates for 1d sample on the gpu