class_docstr: A handle to the current grid group. Must be created via :func:`this_grid`.
  
  .. seealso:: `CUDA Grid Group API`_, :class:`numba.cuda.cg.GridGroup`
  
  .. _CUDA Grid Group API:
      https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#grid-group-cg
class_docstr_tok: ["A","handle","to","the","current","grid","group",".","Must","be","created","via",":","func",":","`","this_grid","`",".","..","seealso",":",":","`","CUDA","Grid","Group","API","`","_",",",":","class",":","`","numba.cuda.cg.GridGroup","`","..","_CUDA","Grid","Group","API",":","https",":","\/\/docs.nvidia.com\/cuda\/cuda-c-programming-guide\/index.html","#","grid-group-cg"]
docstr: sync()
  
  Synchronize the threads named in the group.
  
  .. seealso:: :meth:`numba.cuda.cg.GridGroup.sync`
docstr_tok: ["sync","(",")","Synchronize","the","threads","named","in","the","group",".","..","seealso",":",":",":","meth",":","`","numba.cuda.cg.GridGroup.sync","`"]
code: def sync(self, env, instance):
      """
      sync()
  
      Synchronize the threads named in the group.
  
      .. seealso:: :meth:`numba.cuda.cg.GridGroup.sync`
      """
      # when this methond is called, we need to use the cooperative
      # launch API
      env.generated.enable_cg = True
      return super()._sync(env, instance)
  
imports: from cupy.cuda import runtime
  from cupyx.jit import _compile
  from cupyx.jit import _cuda_types
  from cupyx.jit._internal_types import BuiltinFunc
  from cupyx.jit._internal_types import Constant
  from cupyx.jit._internal_types import Data
  from cupyx.jit._internal_types import wraps_class_method
label_desc: Use image node_id 3 for calling the _GridGroup obj's underlying member method code with example usage: obj.sync(env, instance) and returns: super