parameters: (*args, **kargs)
docstring: OpenCL barrier()
  
      Example:
  
          # workgroup barrier + local memory fence
          hsa.barrier(hsa.CLK_LOCAL_MEM_FENCE)
          # workgroup barrier + global memory fence
          hsa.barrier(hsa.CLK_GLOBAL_MEM_FENCE)
          # workgroup barrier + global memory fence
          hsa.barrier()
docstring_summary: OpenCL barrier()
docstring_tokens: OpenCL barrier ()
function: def barrier(*args, **kargs):
      """
      OpenCL barrier()
  
      Example:
  
          # workgroup barrier + local memory fence
          hsa.barrier(hsa.CLK_LOCAL_MEM_FENCE)
          # workgroup barrier + global memory fence
          hsa.barrier(hsa.CLK_GLOBAL_MEM_FENCE)
          # workgroup barrier + global memory fence
          hsa.barrier()
  
      """
      raise _stub_error
function_tokens: def barrier ( * args , * * kargs ) : raise _stub_error