for what i know, not exactly the same behaviour as compiz' grid.
you have tiling built-in:
Window maximizing and tiling: You can maximize a window by dragging it to the top edge of the screen. Alternatively, you can double-click the window title. To unmaximize, pull it down again. By dragging windows to the left and right edges of the screen you can tile them side by side.
and for gnome-shell you have gTile https://extensions.gnome.org/extension/28/gtile/
(i imagine that it wouldn't be that hard to port it to cinnamon)