docstr: Calls ``cg::wait_prior<N>()``.
  
  Args:
      group: a valid cooperative group
      step (int): wait for the first ``N`` steps to finish
  
  .. seealso: `cg::wait_prior`_
  
  .. _cg::wait_prior:
      https://docs.nvidia.com/cuda/archive/11.6.0/cuda-c-programming-guide/index.html#collectives-cg-wait
docstr_tok: ["Calls","``","cg",":",":wait_prior","<","N",">","(",")","``",".","Args",":","group",":","a","valid","cooperative","group","step","(","int",")",":","wait","for","the","first","``","N","``","steps","to","finish","..","seealso",":","`","cg",":",":wait_prior","`","_","..","_cg",":",":wait_prior",":","https",":","\/\/docs.nvidia.com\/cuda\/archive\/11.6.0\/cuda-c-programming-guide\/index.html","#","collectives-cg-wait"]
code: def __call__(self, group):
      """Calls ``cg::wait_prior<N>()``.
  
      Args:
          group: a valid cooperative group
          step (int): wait for the first ``N`` steps to finish
  
      .. seealso: `cg::wait_prior`_
  
      .. _cg::wait_prior:
          https://docs.nvidia.com/cuda/archive/11.6.0/cuda-c-programming-guide/index.html#collectives-cg-wait
      """
      super().__call__()
  
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 1 for calling the _WaitPrior obj's underlying member method code with example usage: obj.__call__(group) without return types