Module Expr Str Import alias ImportFrom alias alias Import alias Import alias identifier ImportFrom alias alias alias Import alias identifier ImportFrom alias Import alias ImportFrom alias ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias alias alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Dict ListLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr ListLoad Str Str body Assign AttributeStore NameLoad attr ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body If SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num If SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad ListLoad ListLoad NameLoad NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr orelse Return AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body If AttributeLoad AttributeLoad NameLoad attr attr body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr orelse Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr orelse If NameLoad body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Str Assign NameStore Dict Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call NameLoad Str Str Str Str Call NameLoad Str Str Str Str Call NameLoad Str Str Str Str Call NameLoad Str Str Str Str Call NameLoad Str Str Str Str Call NameLoad Str Str Str Str Call NameLoad Str Str Str Str Call NameLoad Str Str Str Str Call NameLoad Str Str Str Str Call NameLoad Str Str Str Str FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Expr Call NameLoad AttributeLoad NameLoad attr keyword NameLoad If CompareIs AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr decorator_list NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Expr Call NameLoad NameLoad Str Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return Call NameLoad NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Expr Call NameLoad NameLoad Str Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return Call NameLoad NameLoad Str decorator_list NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Raise Call NameLoad Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body Expr Str FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Expr Call NameLoad NameLoad Str Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return Call NameLoad NameLoad Str decorator_list NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body Expr Str FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad BinOpMult NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad ListLoad NameLoad Call NameLoad If CompareIs AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call NameLoad ListLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Assert CompareIn NameLoad ListLoad NameLoad NameLoad NameLoad FunctionDef arguments args defaults body FunctionDef arguments args defaults body If CompareEq AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str body Return Str orelse Return Str decorator_list Assign NameStore SubscriptLoad Dict NameLoad NameLoad NameLoad Str Str Str Index NameLoad Return BinOpMod Str Dict Str Str Str Str Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr keyword Str Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Delete AttributeDel NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call NameLoad NameLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call NameLoad NameLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call NameLoad NameLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call NameLoad NameLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call NameLoad NameLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call NameLoad NameLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call NameLoad NameLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call NameLoad NameLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call NameLoad NameLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad If CompareIsNot AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore TupleLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return BinOpAdd BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Expr Str If AttributeLoad NameLoad attr body Return Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad Str body If Call NameLoad NameLoad Str body Raise Call NameLoad Str Return AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad Str FunctionDef arguments args defaults body Assign NameStore ListLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpOr BoolOpAnd AttributeLoad NameLoad attr BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore TupleLoad Str NameLoad orelse Assign NameStore TupleLoad Str NameLoad orelse If BoolOpOr AttributeLoad NameLoad attr BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore TupleLoad Str NameLoad orelse If BoolOpAnd BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore TupleLoad Str NameLoad orelse Assign NameStore TupleLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad Assign NameStore IfExp AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Dict Str Str Str Str Str AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Dict Str NameLoad Call AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Delete AttributeDel NameLoad attr Delete AttributeDel NameLoad attr Delete AttributeDel NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg body Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad With Call NameLoad Str body Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad TupleLoad NameLoad TupleLoad NameLoad keyword NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Return ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call NameLoad GeneratorExp NameLoad comprehension NameStore AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpAnd UnaryOpNot NameLoad UnaryOpNot UnaryOpNot AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str Assign NameStore BinOpSub NameLoad Num AugAssignSub NameStore Num AugAssignSub NameStore BinOpMult BinOpDiv NameLoad Num BinOpAdd Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AugAssignSub NameStore BinOpMult BinOpDiv NameLoad Num Call NameLoad AttributeLoad NameLoad attr AugAssignSub NameStore BinOpMult BinOpDiv NameLoad Num Call NameLoad AttributeLoad NameLoad attr AugAssignSub NameStore BinOpMult BinOpDiv NameLoad Num Call NameLoad AttributeLoad NameLoad attr AugAssignSub NameStore BinOpMult BinOpDiv NameLoad Num Num AugAssignSub NameStore Num AugAssignSub NameStore Num AugAssignSub NameStore BinOpAdd Num Num AugAssignSub NameStore BinOpAdd Num BinOpMult BinOpMult BinOpDiv NameLoad Num Num Call NameLoad AttributeLoad NameLoad attr AugAssignSub NameStore BinOpMult Num BinOpSub Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Call NameLoad Lambda arguments args NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return BinOpMult BinOpDiv NameLoad BinOpMult BinOpMult Num NameLoad NameLoad BinOpMult Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpMult NameLoad NameLoad If CompareEq NameLoad Num body Assign NameStore NameLoad orelse Expr Call NameLoad Str Assign NameStore BinOpSub NameLoad Num AugAssignSub NameStore Num AugAssignSub NameStore BinOpMult BinOpAdd Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr BinOpDiv NameLoad Num AugAssignSub NameStore BinOpMult Call NameLoad AttributeLoad NameLoad attr BinOpDiv NameLoad Num AugAssignSub NameStore Num Assign NameStore BinOpDiv NameLoad NameLoad Assign NameStore Call NameLoad NameLoad BinOpMult BinOpDiv NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Call AttributeLoad NameLoad attr BinOpDiv AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Assign NameStore BinOpMult NameLoad NameLoad Assign NameStore BinOpMult NameLoad NameLoad Return Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad orelse Return Dict Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg body If CompareEq AttributeLoad NameLoad attr Num body Return Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad keyword SubscriptLoad NameLoad Index Str keyword AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Num Expr Call AttributeLoad NameLoad attr Num For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call NameLoad NameLoad SubscriptLoad NameLoad Index Str Assign NameStore BinOpMult NameLoad NameLoad Assign SubscriptStore NameLoad Index Num Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad NameLoad AugAssignAdd NameStore NameLoad For NameStore AttributeLoad NameLoad attr body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr decorator_list NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Global identifier Global identifier Global identifier Global identifier Global identifier Global identifier Global identifier Global identifier Global identifier Global identifier Global identifier Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BoolOpOr CompareIn Str AttributeLoad AttributeLoad NameLoad attr attr CompareIn Str AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Expr Call NameLoad Str If CompareIn Str AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore NameLoad If CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Num orelse If CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Num Assign NameStore CompareIn AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str Assign NameStore Call NameLoad decorator_list Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad keyword Call NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str
N/A N/A OP2 OpenCL backend. N/A collections jinja2 Environment PackageLoader N/A math N/A numpy np pycparser c_parser c_ast c_generator N/A pyopencl cl pyopencl array N/A device device * logger warning N/A plan N/A petsc_base profiling lineprof utils verify_reshape uniquify maybe_setflags Kernel N/A N/A device Kernel N/A N/A OP2 OpenCL kernel type. __init__ N/A N/A self code name opts include_dirs N/A N/A N/A N/A N/A N/A N/A N/A device Kernel __init__ self code name opts include_dirs N/A Instrument N/A N/A c_ast NodeVisitor N/A N/A C AST visitor for instrumenting user kernels.
             - adds memory space attribute to user kernel declaration
             - appends constant declaration to user kernel param list
             - adds a separate function declaration for user kernel
         instrument N/A N/A self ast kernel_name instrument constants N/A N/A N/A N/A self _kernel_name kernel_name N/A N/A self _instrument instrument N/A N/A self _ast ast N/A N/A self _constants constants N/A N/A N/A self generic_visit ast N/A N/A N/A N/A ast ext insert 0 N/A N/A self _func_node decl N/A visit_FuncDef N/A N/A self node N/A N/A N/A N/A N/A N/A node decl name N/A self _kernel_name N/A N/A N/A self _func_node node N/A N/A N/A self visit N/A node decl N/A visit_IdentifierType N/A N/A self node N/A N/A N/A N/A N/A node names N/A long long N/A N/A N/A node names N/A long N/A visit_ParamList N/A N/A self node N/A N/A N/A N/A i p N/A enumerate N/A node params N/A N/A N/A N/A N/A self _instrument N/A i N/A 0 N/A N/A N/A N/A N/A p storage append N/A N/A N/A self _instrument N/A i N/A 0 N/A N/A N/A N/A self _instrument N/A i N/A 1 N/A N/A N/A N/A N/A N/A p type quals append N/A N/A N/A self _instrument N/A i N/A 1 N/A N/A N/A self visit p N/A cst N/A self _constants N/A N/A N/A cst _is_scalar N/A N/A t N/A N/A c_ast TypeDecl N/A cst _name N/A N/A N/A c_ast IdentifierType N/A N/A cst _cl_type N/A N/A t N/A N/A c_ast PtrDecl N/A N/A N/A c_ast TypeDecl N/A cst _name N/A __constant N/A N/A c_ast IdentifierType N/A N/A cst _cl_type N/A decl N/A N/A c_ast Decl N/A cst _name N/A N/A N/A t None 0 N/A N/A N/A N/A node params append decl N/A N/A instrument N/A N/A self instrument constants N/A N/A N/A ast N/A N/A N/A N/A c_parser CParser parse N/A self _code N/A N/A N/A N/A N/A Kernel Instrument instrument ast N/A self _name instrument constants N/A N/A N/A N/A N/A c_generator CGenerator visit ast N/A N/A Arg N/A N/A device Arg N/A N/A OP2 OpenCL argument type. _indirect_kernel_arg_name N/A N/A self idx subset N/A N/A N/A N/A self _is_global N/A N/A N/A self _is_global_reduction N/A N/A N/A self _reduction_local_name N/A N/A N/A self name N/A N/A self _is_direct N/A N/A N/A N/A self data soa N/A N/A N/A %s + (%s + offset_b) N/A N/A self name idx N/A N/A %s + (%s + offset_b) * %s N/A N/A self name idx N/A N/A self data cdim N/A N/A self _is_indirect N/A N/A N/A self _is_vec_map N/A N/A N/A self _vec_name N/A N/A N/A self access N/A device INC N/A N/A N/A N/A self _local_name N/A N/A N/A %s + loc_map[%s * set_size + %s + offset_b]*%s N/A N/A self _shared_name N/A self _which_indirect idx N/A N/A self data cdim N/A _direct_kernel_arg_name N/A N/A self idx subset N/A None False N/A N/A N/A self _is_mat N/A N/A N/A self _mat_entry_name N/A N/A self _is_staged_direct N/A N/A N/A N/A self _local_name N/A N/A N/A self _is_global_reduction N/A N/A N/A self _reduction_local_name N/A N/A N/A self _is_global N/A N/A N/A self name N/A N/A subset N/A N/A N/A %s + _ssinds[%s] N/A N/A self name idx N/A N/A %s + %s N/A N/A self name idx N/A N/A Subset N/A N/A device Subset N/A _allocate_device N/A N/A self N/A N/A N/A N/A N/A hasattr self _device_data N/A N/A N/A self _device_data N/A N/A array to_device _queue N/A self indices N/A N/A DeviceDataMixin N/A N/A device DeviceDataMixin N/A N/A Codegen mixin for datatype and literal translation. N/A ClTypeInfo N/A N/A collections namedtuple ClTypeInfo N/A clstring zero min max N/A CL_TYPES N/A N/A N/A np dtype uint8 N/A N/A np dtype int8 N/A N/A np dtype uint16 N/A N/A np dtype int16 N/A N/A np dtype uint32 N/A N/A np dtype int32 N/A N/A np dtype uint64 N/A N/A np dtype int64 N/A N/A np dtype float32 N/A N/A np dtype float64 N/A ClTypeInfo uchar 0 0 255 N/A ClTypeInfo char 0 -127 127 N/A ClTypeInfo ushort 0 0 65535 N/A ClTypeInfo short 0 -32767 32767 N/A ClTypeInfo uint 0u 0u 4294967295u N/A ClTypeInfo int 0 -2147483647 2147483647 N/A ClTypeInfo ulong 0ul 0ul 18446744073709551615ul N/A ClTypeInfo long 0l -9223372036854775807l 9223372036854775807l N/A ClTypeInfo float 0.0f -3.4028235e+38f 3.4028235e+38f N/A ClTypeInfo double 0.0 -1.7976931348623157e+308 1.7976931348623157e+308 _allocate_device N/A N/A self N/A N/A N/A N/A N/A self state N/A DeviceDataMixin DEVICE_UNALLOCATED N/A N/A N/A self soa N/A N/A shape N/A tuple N/A reversed N/A self shape N/A N/A shape N/A self shape N/A N/A self _device_data N/A N/A array zeros _queue shape shape dtype N/A self dtype N/A N/A self state N/A DeviceDataMixin HOST N/A _to_device N/A N/A self N/A N/A N/A N/A N/A self _allocate_device N/A N/A N/A self state N/A DeviceDataMixin HOST N/A N/A N/A N/A N/A self _device_data set N/A N/A self _maybe_to_soa N/A self _data queue _queue N/A N/A self state N/A DeviceDataMixin BOTH N/A _from_device N/A N/A self N/A N/A N/A flag N/A N/A N/A self _data flags N/A WRITEABLE N/A N/A maybe_setflags N/A self _data write True N/A N/A N/A self state N/A DeviceDataMixin DEVICE N/A N/A N/A N/A N/A self _device_data get _queue N/A self _data N/A N/A self _data N/A N/A self _maybe_to_aos N/A self _data N/A N/A self state N/A DeviceDataMixin BOTH N/A N/A maybe_setflags N/A self _data write flag N/A _cl_type N/A N/A self N/A N/A N/A N/A N/A N/A DeviceDataMixin CL_TYPES N/A N/A self dtype clstring N/A property _cl_type_zero N/A N/A self N/A N/A N/A N/A N/A N/A DeviceDataMixin CL_TYPES N/A N/A self dtype zero N/A property _cl_type_min N/A N/A self N/A N/A N/A N/A N/A N/A DeviceDataMixin CL_TYPES N/A N/A self dtype min N/A property _cl_type_max N/A N/A self N/A N/A N/A N/A N/A N/A DeviceDataMixin CL_TYPES N/A N/A self dtype max N/A property N/A Dat N/A N/A device Dat N/A petsc_base Dat DeviceDataMixin N/A N/A N/A Sparsity N/A N/A device Sparsity N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A self _block_sparse False N/A N/A N/A N/A super Sparsity self __init__ args kwargs N/A colidx N/A N/A self N/A N/A N/A N/A N/A hasattr self __dev_colidx N/A N/A N/A setattr self __dev_colidx N/A N/A array to_device _queue N/A self _colidx N/A N/A getattr self __dev_colidx N/A property rowptr N/A N/A self N/A N/A N/A N/A N/A hasattr self __dev_rowptr N/A N/A N/A setattr self __dev_rowptr N/A N/A array to_device _queue N/A self _rowptr N/A N/A getattr self __dev_rowptr N/A property N/A Mat N/A N/A device Mat DeviceDataMixin N/A N/A OP2 OpenCL matrix data type. __init__ N/A N/A self N/A args kwargs N/A N/A N/A NotImplementedError OpenCL backend does not implement matrices N/A N/A Const N/A N/A device Const DeviceDataMixin N/A N/A OP2 OpenCL data that is constant for any element of any set. _array N/A N/A self N/A N/A N/A N/A N/A hasattr self __array N/A N/A N/A setattr self __array N/A N/A array to_device _queue N/A self _data N/A N/A getattr self __array N/A property N/A Global N/A N/A device Global DeviceDataMixin N/A N/A OP2 OpenCL global value. _array N/A N/A self N/A N/A N/A N/A N/A hasattr self _device_data N/A N/A N/A self _device_data N/A N/A array to_device _queue N/A self _data N/A N/A self _device_data N/A property _allocate_reduction_array N/A N/A self nelems N/A N/A N/A N/A self _d_reduc_array N/A N/A array zeros _queue N/A nelems N/A self cdim dtype N/A self dtype N/A data N/A N/A self N/A N/A N/A N/A N/A N/A base _trace evaluate N/A set N/A self N/A set N/A N/A N/A self state N/A DeviceDataMixin DEVICE N/A N/A N/A N/A N/A self _array get _queue ary N/A self _data N/A N/A N/A self state N/A DeviceDataMixin DEVICE_UNALLOCATED N/A N/A N/A self state N/A DeviceDataMixin HOST N/A N/A self _data N/A property data N/A N/A self value N/A N/A N/A N/A N/A N/A base _trace evaluate N/A set N/A set N/A self N/A N/A self _data N/A verify_reshape value N/A self dtype N/A self dim N/A N/A N/A self state N/A DeviceDataMixin DEVICE_UNALLOCATED N/A N/A N/A self state N/A DeviceDataMixin HOST N/A N/A data setter _post_kernel_reduction_task N/A N/A self nelems reduction_operator N/A N/A N/A N/A reduction_operator N/A INC MIN MAX generate_code N/A N/A N/A N/A headers N/A N/A N/A N/A N/A N/A N/A self dtype N/A N/A np dtype float64 N/A N/A 
#if defined(cl_khr_fp64)
#if defined(cl_amd_fp64)
#pragma OPENCL EXTENSION cl_amd_fp64 : enable
#else
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
#endif
#elif defined(cl_amd_fp64)
#pragma OPENCL EXTENSION cl_amd_fp64 : enable
#endif

 N/A N/A N/A N/A op N/A N/A INC MIN MAX INC min max N/A reduction_operator N/A N/A 
%(headers)s
#define INC(a,b) ((a)+(b))
__kernel
void global_%(type)s_%(dim)s_post_reduction (
  __global %(type)s* dat,
  __global %(type)s* tmp,
  __private int count
)
{
  __private %(type)s accumulator[%(dim)d];
  for (int j = 0; j < %(dim)d; ++j)
  {
    accumulator[j] = dat[j];
  }
  for (int i = 0; i < count; ++i)
  {
    for (int j = 0; j < %(dim)d; ++j)
    {
      accumulator[j] = %(op)s(accumulator[j], *(tmp + i * %(dim)d + j));
    }
  }
  for (int j = 0; j < %(dim)d; ++j)
  {
    dat[j] = accumulator[j];
  }
}
 N/A headers dim type op N/A headers N/A self cdim N/A self _cl_type op N/A N/A N/A src kernel N/A N/A _reduction_task_cache get N/A N/A self dtype N/A self cdim reduction_operator N/A None None N/A N/A src None N/A N/A src N/A generate_code N/A prg N/A N/A N/A N/A cl Program _ctx src build options -Werror N/A name N/A global_%s_%s_post_reduction N/A N/A self _cl_type N/A self cdim N/A kernel N/A N/A prg __getattr__ name N/A N/A _reduction_task_cache N/A N/A N/A self dtype N/A self cdim reduction_operator N/A src kernel N/A N/A N/A kernel set_arg 0 N/A N/A self _array data N/A N/A N/A kernel set_arg 1 N/A N/A self _d_reduc_array data N/A N/A N/A kernel set_arg 2 N/A N/A np int32 nelems N/A N/A N/A N/A N/A cl enqueue_task _queue kernel wait N/A N/A N/A N/A self _array get queue _queue ary N/A self _data N/A N/A self state N/A DeviceDataMixin BOTH N/A N/A self _d_reduc_array N/A N/A Map N/A N/A device Map N/A N/A OP2 OpenCL map, a relation between two Sets. _to_device N/A N/A self N/A N/A N/A N/A N/A hasattr self _device_values N/A N/A N/A self _device_values N/A N/A array to_device _queue N/A self _values N/A N/A Plan N/A N/A plan Plan N/A ind_map N/A N/A self N/A N/A N/A N/A N/A hasattr self _ind_map_array N/A N/A N/A self _ind_map_array N/A N/A array to_device _queue N/A N/A super Plan self ind_map N/A N/A self _ind_map_array N/A property ind_sizes N/A N/A self N/A N/A N/A N/A N/A hasattr self _ind_sizes_array N/A N/A N/A self _ind_sizes_array N/A N/A array to_device _queue N/A N/A super Plan self ind_sizes N/A N/A self _ind_sizes_array N/A property ind_offs N/A N/A self N/A N/A N/A N/A N/A hasattr self _ind_offs_array N/A N/A N/A self _ind_offs_array N/A N/A array to_device _queue N/A N/A super Plan self ind_offs N/A N/A self _ind_offs_array N/A property loc_map N/A N/A self N/A N/A N/A N/A N/A hasattr self _loc_map_array N/A N/A N/A self _loc_map_array N/A N/A array to_device _queue N/A N/A super Plan self loc_map N/A N/A self _loc_map_array N/A property blkmap N/A N/A self N/A N/A N/A N/A N/A hasattr self _blkmap_array N/A N/A N/A self _blkmap_array N/A N/A array to_device _queue N/A N/A super Plan self blkmap N/A N/A self _blkmap_array N/A property offset N/A N/A self N/A N/A N/A N/A N/A hasattr self _offset_array N/A N/A N/A self _offset_array N/A N/A array to_device _queue N/A N/A super Plan self offset N/A N/A self _offset_array N/A property nelems N/A N/A self N/A N/A N/A N/A N/A hasattr self _nelems_array N/A N/A N/A self _nelems_array N/A N/A array to_device _queue N/A N/A super Plan self nelems N/A N/A self _nelems_array N/A property nthrcol N/A N/A self N/A N/A N/A N/A N/A hasattr self _nthrcol_array N/A N/A N/A self _nthrcol_array N/A N/A array to_device _queue N/A N/A super Plan self nthrcol N/A N/A self _nthrcol_array N/A property thrcol N/A N/A self N/A N/A N/A N/A N/A hasattr self _thrcol_array N/A N/A N/A self _thrcol_array N/A N/A array to_device _queue N/A N/A super Plan self thrcol N/A N/A self _thrcol_array N/A property N/A Solver N/A N/A petsc_base Solver N/A _solve N/A N/A self A x b N/A N/A N/A N/A N/A x _from_device N/A N/A N/A b _from_device N/A N/A N/A N/A super Solver self _solve A x b N/A N/A N/A x state N/A DeviceDataMixin DEVICE_UNALLOCATED N/A N/A N/A x state N/A DeviceDataMixin HOST N/A N/A N/A x _to_device N/A N/A JITModule N/A N/A base JITModule N/A _cache_key N/A N/A cls kernel itspace N/A args kwargs N/A N/A parloop N/A N/A kwargs get parloop N/A key N/A N/A parloop _is_direct N/A len N/A parloop _unique_dat_args N/A len N/A parloop _aliased_dat_args N/A N/A N/A N/A N/A N/A base JITModule _cache_key kernel itspace args key N/A N/A N/A kwargs N/A conf N/A local_memory_size N/A classmethod __init__ N/A N/A self kernel itspace_extents N/A args kwargs N/A N/A 
        A cached compiled function to execute for a specified par_loop.

        See :func:`~.par_loop` for the description of arguments.

        .. warning ::

           Note to implementors.  This object is *cached*, and therefore
           should not hold any long term references to objects that
           you want to be collected.  In particular, after the
           ``args`` have been inspected to produce the compiled code,
           they **must not** remain part of the object's slots,
           otherwise they (and the :class:`~.Dat`\s, :class:`~.Map`\s
           and :class:`~.Mat`\s they reference) will never be collected.
         N/A N/A self _initialized N/A N/A N/A N/A self _parloop N/A N/A kwargs get parloop N/A N/A self _kernel N/A N/A self _parloop _kernel N/A N/A self _conf N/A N/A kwargs get conf N/A N/A self _initialized True N/A compile N/A N/A self N/A N/A N/A N/A hasattr self _fun N/A N/A N/A hasattr self _parloop N/A N/A N/A RuntimeError JITModule is holding onto parloop, causing a memory leak (should never happen) N/A N/A self _fun N/A N/A N/A hasattr self _parloop N/A N/A N/A RuntimeError JITModule has no parloop associated with it, should never happen instrument_user_kernel N/A N/A N/A N/A N/A inst N/A N/A arg N/A N/A self _parloop args N/A N/A i None N/A N/A N/A self _parloop _is_direct N/A N/A N/A N/A N/A arg _is_direct N/A N/A N/A arg data _is_scalar N/A N/A arg data soa N/A N/A arg _is_global N/A N/A arg _is_global_reduction N/A N/A i N/A __global None N/A N/A i N/A __private None N/A N/A N/A N/A arg _is_direct N/A N/A arg _is_global N/A N/A arg _is_global_reduction N/A N/A i N/A __global None N/A N/A N/A N/A N/A arg _is_indirect N/A arg _is_vec_map N/A N/A arg _is_indirect_reduction N/A N/A i N/A __local None N/A N/A i N/A __private None N/A N/A N/A inst append i N/A i N/A N/A N/A self _parloop _it_space extents N/A N/A N/A N/A inst append N/A __private None N/A N/A N/A N/A N/A self _parloop _kernel instrument inst N/A N/A Const _definitions N/A N/A user_kernel N/A instrument_user_kernel N/A template N/A N/A N/A self _parloop _is_direct _jinja2_direct_loop _jinja2_indirect_loop N/A src N/A N/A N/A N/A template render N/A parloop user_kernel launch codegen op2const N/A self _parloop user_kernel N/A self _conf N/A amd _AMD_fixes N/A N/A Const _definitions encode ascii N/A N/A N/A self _dump_generated_code src ext cl N/A prg N/A N/A N/A N/A cl Program _ctx src build N/A N/A self _fun N/A N/A prg __getattr__ N/A N/A self _parloop _stub_name N/A N/A self _parloop N/A N/A self _kernel N/A N/A self _conf N/A N/A self _fun N/A __call__ N/A N/A self thread_count work_group_size N/A args N/A N/A fun N/A N/A self compile N/A N/A i arg N/A enumerate args N/A N/A N/A N/A fun set_arg i arg N/A N/A timed_region ParLoop kernel N/A N/A N/A N/A N/A N/A cl enqueue_nd_range_kernel _queue fun N/A thread_count N/A work_group_size g_times_l False wait N/A N/A ParLoop N/A N/A device ParLoop N/A _matrix_args N/A N/A self N/A N/A N/A N/A a N/A a N/A self args N/A a _is_mat N/A property _unique_matrix N/A N/A self N/A N/A N/A N/A list N/A uniquify N/A N/A a data N/A a N/A self _matrix_args N/A property _matrix_entry_maps N/A N/A self N/A N/A N/A Set of all mappings used in matrix arguments. N/A N/A list N/A uniquify N/A m N/A arg N/A self args N/A arg _is_mat N/A m N/A arg map N/A property _requires_matrix_coloring N/A N/A self N/A N/A N/A Direct code generation to follow colored execution for global
        matrix insertion. N/A N/A N/A _supports_64b_atomics N/A N/A N/A self _matrix_args N/A property _i_partition_size N/A N/A self N/A N/A N/A N/A warning temporary fix to available local memory computation (-512) N/A available_local_memory N/A _max_local_memory 512 N/A available_local_memory 16 N/A available_local_memory N/A N/A _address_bits 8 N/A N/A len N/A self _unique_dat_args N/A len N/A self _all_global_non_reduction_args N/A available_local_memory N/A N/A _address_bits 8 N/A len N/A self _unique_indirect_dat_args N/A available_local_memory N/A N/A _address_bits 8 N/A len N/A self _all_global_reduction_args N/A available_local_memory N/A N/A _address_bits 8 N/A len N/A self _all_indirect_args N/A available_local_memory N/A N/A _address_bits 8 7 N/A available_local_memory 4 N/A available_local_memory 7 N/A available_local_memory N/A 12 3 N/A available_local_memory N/A 4 N/A N/A N/A _address_bits 8 2 N/A len N/A self _unique_indirect_dat_args N/A available_local_memory N/A 2 N/A N/A len N/A self _unique_indirect_dat_args 1 N/A max_bytes N/A sum N/A map N/A N/A N/A a N/A N/A N/A a data _bytes_per_elem N/A self _all_indirect_args N/A N/A N/A available_local_memory N/A N/A 2 _warpsize max_bytes N/A 2 _warpsize N/A launch_configuration N/A N/A self N/A N/A N/A N/A self _is_direct N/A N/A per_elem_max_local_mem_req N/A self _max_shared_memory_needed_per_set_element N/A shared_memory_offset N/A per_elem_max_local_mem_req _warpsize N/A N/A per_elem_max_local_mem_req 0 N/A N/A wgs _max_work_group_size N/A N/A N/A warning temporary fix to available local memory computation (-512) N/A available_local_memory N/A _max_local_memory 512 N/A available_local_memory 16 N/A available_local_memory N/A N/A N/A len N/A self _unique_dat_args N/A len N/A self _all_global_non_reduction_args N/A _address_bits 8 N/A available_local_memory N/A N/A len N/A self _all_global_reduction_args N/A _address_bits 8 N/A available_local_memory 7 N/A ps N/A available_local_memory per_elem_max_local_mem_req N/A wgs N/A min _max_work_group_size N/A N/A ps _warpsize _warpsize N/A nwg N/A min _pref_work_group_count N/A int N/A N/A math ceil N/A N/A N/A self _it_space size N/A float wgs N/A ttc N/A wgs nwg N/A local_memory_req N/A per_elem_max_local_mem_req wgs N/A N/A thread_count work_group_size work_group_count local_memory_size local_memory_offset ttc wgs nwg local_memory_req shared_memory_offset N/A N/A N/A partition_size N/A N/A self _i_partition_size N/A _compute N/A N/A self part fun N/A arglist N/A N/A N/A N/A part size 0 N/A N/A N/A conf N/A N/A self launch_configuration N/A N/A conf N/A subset N/A isinstance N/A part set Subset N/A N/A self _is_indirect N/A N/A _plan N/A Plan part partition_size N/A conf N/A partition_size matrix_coloring N/A self _requires_matrix_coloring N/A self _unwound_args N/A N/A conf N/A local_memory_size N/A _plan nshared N/A N/A conf N/A ninds N/A _plan ninds N/A N/A conf N/A work_group_size N/A min _max_work_group_size N/A conf N/A partition_size N/A N/A conf N/A work_group_count N/A _plan nblocks N/A N/A conf N/A warpsize _warpsize N/A N/A conf N/A op2stride N/A N/A self _it_space size N/A fun N/A JITModule N/A self kernel N/A self it_space parloop self conf conf N/A self args N/A args N/A N/A arg N/A self _unique_args N/A N/A N/A N/A N/A arg data _allocate_device N/A N/A N/A arg access N/A device WRITE N/A N/A N/A N/A N/A arg data _to_device N/A a N/A self _unique_dat_args N/A N/A N/A N/A args append N/A N/A N/A a data array data N/A a N/A self _all_global_non_reduction_args N/A N/A N/A N/A args append N/A N/A N/A a data _array data N/A a N/A self _all_global_reduction_args N/A N/A N/A N/A N/A a data _allocate_reduction_array N/A conf N/A work_group_count N/A N/A N/A args append N/A N/A N/A a data _d_reduc_array data N/A cst N/A N/A Const _definitions N/A N/A N/A N/A args append N/A N/A cst _array data N/A m N/A self _unique_matrix N/A N/A N/A N/A args append N/A N/A m _dev_array data N/A N/A N/A m _to_device N/A N/A N/A args append N/A N/A m _rowptr data N/A N/A N/A args append N/A N/A m _colidx data N/A m N/A self _matrix_entry_maps N/A N/A N/A N/A m _to_device N/A N/A N/A args append N/A N/A m _device_values data N/A N/A self _is_direct N/A N/A N/A N/A args append N/A N/A np int32 N/A part size N/A N/A N/A args append N/A N/A np int32 N/A part offset N/A N/A conf N/A subset N/A N/A N/A N/A N/A part set _allocate_device N/A N/A N/A args append N/A N/A N/A part set _device_data data N/A N/A fun N/A conf N/A thread_count N/A conf N/A work_group_size args N/A N/A N/A N/A args append N/A N/A np int32 N/A part size N/A N/A N/A args append N/A N/A np int32 N/A part offset N/A N/A conf N/A subset N/A N/A N/A N/A N/A part set _allocate_device N/A N/A N/A args append N/A N/A N/A part set _device_data data N/A N/A N/A args append N/A N/A _plan ind_map data N/A N/A N/A args append N/A N/A _plan loc_map data N/A N/A N/A args append N/A N/A _plan ind_sizes data N/A N/A N/A args append N/A N/A _plan ind_offs data N/A N/A N/A args append N/A N/A _plan blkmap data N/A N/A N/A args append N/A N/A _plan offset data N/A N/A N/A args append N/A N/A _plan nelems data N/A N/A N/A args append N/A N/A _plan nthrcol data N/A N/A N/A args append N/A N/A _plan thrcol data N/A block_offset 0 N/A N/A N/A args append 0 N/A i N/A range N/A _plan ncolors N/A N/A blocks_per_grid N/A int N/A N/A _plan ncolblk N/A i N/A threads_per_block N/A min _max_work_group_size N/A conf N/A partition_size N/A thread_count N/A threads_per_block blocks_per_grid N/A N/A args N/A -1 N/A N/A np int32 block_offset N/A N/A fun N/A int thread_count N/A int threads_per_block args N/A block_offset blocks_per_grid N/A arg N/A self args N/A N/A N/A N/A arg access READ N/A N/A N/A N/A arg data state N/A DeviceDataMixin DEVICE N/A a N/A self _all_global_reduction_args N/A N/A N/A N/A N/A a data _post_kernel_reduction_task N/A conf N/A work_group_count N/A a access N/A collective lineprof N/A _setup N/A N/A N/A N/A N/A _ctx N/A _queue N/A _pref_work_group_count N/A _max_local_memory N/A _address_bits N/A _max_work_group_size N/A _has_dpfloat N/A _warpsize N/A _AMD_fixes N/A _reduction_task_cache N/A _supports_64b_atomics N/A _ctx N/A N/A cl create_some_context N/A _queue N/A N/A cl CommandQueue _ctx properties N/A N/A cl command_queue_properties PROFILING_ENABLE N/A _pref_work_group_count N/A N/A _queue device max_compute_units N/A _max_local_memory N/A N/A _queue device local_mem_size N/A _address_bits N/A N/A _queue device address_bits N/A _max_work_group_size N/A N/A _queue device max_work_group_size N/A _has_dpfloat N/A N/A cl_khr_fp64 N/A N/A _queue device extensions N/A cl_amd_fp64 N/A N/A _queue device extensions N/A N/A _has_dpfloat N/A N/A N/A warning device does not support double precision floating point                 computation, expect undefined behavior for double N/A N/A cl_khr_int64_base_atomics N/A N/A _queue device extensions N/A N/A _supports_64b_atomics True N/A N/A N/A N/A _queue device type N/A N/A cl device_type CPU N/A N/A _warpsize 1 N/A N/A N/A N/A N/A _queue device type N/A N/A cl device_type GPU N/A N/A _warpsize 32 N/A _AMD_fixes N/A N/A N/A N/A _queue device platform vendor N/A Advanced Micro Devices, Inc. N/A _reduction_task_cache N/A dict N/A N/A _supports_64b_atomics False N/A _debug False N/A _ctx None N/A _queue None N/A _pref_work_group_count 0 N/A _max_local_memory 0 N/A _address_bits 32 N/A _max_work_group_size 0 N/A _has_dpfloat False N/A _warpsize 0 N/A _AMD_fixes False N/A _reduction_task_cache None N/A _jinja2_env N/A Environment loader N/A PackageLoader pyop2 assets N/A _jinja2_direct_loop N/A N/A _jinja2_env get_template opencl_direct_loop.jinja2 N/A _jinja2_indirect_loop N/A N/A _jinja2_env get_template opencl_indirect_loop.jinja2