loopy/schedule/device_mapping.py
def filter_out_subscripts(exprs):
    """
    Remove subscripts from expressions in `exprs`.
    """
    result = set()
    from pymbolic.primitives import Subscript
    for expr in exprs:
        if isinstance(expr, Subscript):
            expr = expr.aggregate
        result.add(expr)
    return result

    Remove subscripts from expressions in `exprs`.
    
Remove subscripts from expressions in `exprs`.
Remove subscripts from expressions in ` exprs ` .
def filter_out_subscripts(exprs):
    result = set()
    from pymbolic.primitives import Subscript
    for expr in exprs:
        if isinstance(expr, Subscript):
            expr = expr.aggregate
        result.add(expr)
    return result
def filter_out_subscripts ( exprs ) : result = set ( ) from pymbolic . primitives import Subscript for expr in exprs : if isinstance ( expr , Subscript ) : expr = expr . aggregate result . add ( expr ) return result
Remove subscripts from expressions in `exprs`.
Remove subscripts from expressions in ` exprs ` .
"""
    Remove subscripts from expressions in `exprs`.
    """
exprs