zuloosl.blogg.se

Being loopy meaning
Being loopy meaning






Or the name of the device program currently being

#BEING LOOPY MEANING CODE#

None (indicating that host code is being generated) None or an instance of VectorizationInfo is_generating_device_code # gen_program_name # Set of SeenFunction instances seen_atomic_dtypes # var_subst_map # allow_complex # vectorization_info # Set of dtypes that were encountered seen_functions # implemented_predicates #Ī frozenset of predicates for which checks have been all constraints that have been enforced so far. The entire implemented domain (as an islpy.Set) CodeGenerationState ( kernel, target, implemented_data_info, implemented_domain, implemented_predicates, seen_dtypes, seen_functions, seen_atomic_dtypes, var_subst_map, allow_complex, callables_table, is_entrypoint, vectorization_info = None, var_name_generator = None, is_generating_device_code = None, gen_program_name = None, schedule_index_end = None, codegen_cachemanager = None ) # kernel # target # implemented_data_info #Ī list of ImplementedDataInfo objects. name # c_name # arg_dtypes #Ī tuple of result dtypes class degen. This is used to track functions that emerge late during code generation,Į.g. SeenFunction ( name, c_name, arg_dtypes, result_dtypes ) # VectorizationInfo ( iname, length, space ) # iname # length # space # class degen. PreambleInfo ( * args, ** kwargs ) # kernel # seen_dtypes # seen_functions # seen_atomic_dtypes # codegen_state # class degen. allows_offset # is_written # class degen.

being loopy meaning

Name of the array and axis number for which this argument provides Manner offset_for_name # stride_for_name_and_axis #Ī tuple (name, axis) indicating the (implementation-facing)

being loopy meaning

Strides in multiples of emsize that accounts for The user-facing name of the underlying array. Implemented arrays may correspond to one user-facing In the case of separate-array-tagged axes, multiple ImplementedDataInfo ( target, name, dtype, arg_class, base_name = None, shape = None, strides = None, unvec_shape = None, unvec_strides = None, offset_for_name = None, stride_for_name_and_axis = None, allows_offset = None, is_written = None ) # name # AtomicNumpyType ( dtype, target = None ) #Ī dtype wrapper that indicates that the described type should be capable On which atomic operations are performed. AtomicType #Ībstract class for dtypes of variables encountered in a loopy.LoopKernel NumpyType ( dtype, target = None ) # class loopy.types. LoopyType #Ībstract class for dtypes of variables encountered in a The codegen pipeline user-provided types are converted to Types #ĭTypes of variables in a loopy.LoopKernel must be picklable, so in Expression Manipulation Helpers # loopy.symbolic. Returns True iff the sub-array refs have identical expressions. swept_inames #Īn instance of tuple denoting the axes to which the sub arrayĪn instance of denoting theĪrray in the kernel. Sub-arary) as consecutive elements of the sweeping axes which are defined SubArrayRef ( swept_inames, subscript ) #Īn algebraic expression to map an affine memory layout pattern (known as ResolvedFunction ( function ) #Ī function identifier whose definition is known in a loopy program.Ī function is said to be known in a TranslationUnit if its Subclasses of this must be careful to not touch identifiers thatĪre in ExpansionState.arg_context. Note: the third argument dragged around by this mapper is the RuleAwareIdentityMapper ( rule_mapping_context ) # ExpansionState ( * args, ** kwargs ) # kernel # instruction # stack #Ī tuple representing the current expansion stack, as a tupleĪ dict representing current argument values class loopy.symbolic. Only used internally in the rule-aware mappers to match subst rules Represents a (numbered) argument of a loopy.SubstitutionRule. Represents a linear index into a multi-dimensional array, completely

being loopy meaning

In precisely one reduction, to avoid mis-nesting errors. If not True, an iname is allowed to be used * a function call or substitution rule invocation. operation # an instance of :class:`` inames #Ī list of inames across which reduction on expr is beingĪn expression which may have tuple type. Represents a reduction operation on expr across inames.

being loopy meaning

Reduction ( operation, inames, expr, allow_simultaneous = False ) # LegacyStringInstructionTag or, if they used to carryĪ functional meaning, the tag carrying that same fucntional meaning May then be used to address these uses–such as by prefetching onlyĪ frozenset of subclasses of used to ‘one’ identifies this specific use of the identifier. This is an identifier with tags, such as matrix$one, where Only defined for numerical types with semantics matching TypedCSE ( child, prefix = None, dtype = None ) #Ī annotated withĪ numpy.dtype. FunctionIdentifier #Ī base class for symbols representing functions. Not for use in Loopy source representation.






Being loopy meaning