def local_max_channels(obj):
return _ec.local_max_channels(_get_opc(obj))<EOL>
Return the local maximum number of channels for the parallel
region `obj` is executing in.

The maximum number of channels corresponds to the width of the region.

Args:
    obj: Instance of a class executing within Streams.
Returns:
    int: Parallel region local maximum number of channels or 0 if not located in a parallel region.