Module ImportFrom alias alias Import alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam defaults body For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad BinOpAdd SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Num Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad NameLoad attr Num Num Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Num Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad NameLoad attr Num Num Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Num For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body AugAssignAdd NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index Num NameLoad decorator_list Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr attr Num Num Assign NameStore Call NameLoad NameLoad For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body Assign SubscriptStore NameLoad Index NameLoad BinOpAdd BinOpMult NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr attr Num Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr attr Num Num Assign NameStore Call NameLoad NameLoad NameLoad NameLoad For NameStore Call NameLoad Num body For NameStore Call NameLoad Num body Assign NameStore BinOpAdd BinOpMult NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad For NameStore Call NameLoad Num body Assign NameStore BinOpAdd BinOpMult NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr CompareEq NameLoad SubscriptLoad NameLoad Index NameLoad TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr attr Num Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr attr Num Num Assign NameStore Call NameLoad NameLoad NameLoad NameLoad For NameStore Call NameLoad Num body For NameStore Call NameLoad Num body Assign NameStore BinOpAdd BinOpMult SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad TupleLoad NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body Assign SubscriptStore NameLoad Index NameLoad BinOpAdd BinOpMult NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list Call NameLoad ListLoad Str Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr attr Num Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr attr Num Num Assign NameStore Call NameLoad NameLoad NameLoad NameLoad For NameStore Call NameLoad Num body For NameStore Call NameLoad Num body Assign NameStore BinOpAdd BinOpMult NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad For NameStore Call NameLoad Num body Assign NameStore BinOpAdd BinOpMult NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr CompareEq NameLoad SubscriptLoad NameLoad Index NameLoad TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr attr Num Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr attr Num Num Assign NameStore Call NameLoad NameLoad NameLoad NameLoad For NameStore Call NameLoad Num body For NameStore Call NameLoad Num body Assign NameStore BinOpAdd BinOpMult SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad TupleLoad NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A __future__ print_function absolute_import N/A numpy np numba unittest_support unittest numba.hsa.vectorizers HsaGUFuncVectorize numba.hsa.dispatch HSAGenerializedUFunc numba guvectorize ufunc_add_core N/A N/A a b c N/A N/A N/A i N/A range N/A c size N/A N/A N/A c N/A i N/A N/A a N/A i N/A b N/A i N/A TestGUFuncBuilding N/A N/A unittest TestCase N/A test_gufunc_building N/A N/A self N/A N/A N/A ufbldr N/A HsaGUFuncVectorize ufunc_add_core (x),(x)->(x) N/A N/A N/A ufbldr add (float32[:], float32[:], float32[:]) N/A N/A N/A ufbldr add (intp[:], intp[:], intp[:]) N/A ufunc N/A N/A ufbldr build_ufunc N/A N/A N/A self assertIsInstance ufunc HSAGenerializedUFunc N/A A N/A N/A np arange 100 dtype N/A np intp N/A B N/A N/A N/A np arange 100 dtype N/A np intp 1 N/A expected N/A A B N/A got N/A ufunc A B N/A N/A N/A N/A np testing assert_equal expected got N/A N/A N/A self assertEqual N/A expected dtype N/A got dtype N/A N/A N/A self assertEqual N/A N/A np dtype N/A np intp N/A got dtype N/A A N/A N/A A reshape 50 2 N/A B N/A N/A B reshape 50 2 N/A expected N/A A B N/A got N/A ufunc A B N/A N/A N/A N/A np testing assert_equal expected got N/A N/A N/A self assertEqual N/A expected dtype N/A got dtype N/A N/A N/A self assertEqual N/A N/A np dtype N/A np intp N/A got dtype N/A A N/A N/A A reshape 5 10 2 N/A B N/A N/A B reshape 5 10 2 N/A expected N/A A B N/A got N/A ufunc A B N/A N/A N/A N/A np testing assert_equal expected got N/A N/A N/A self assertEqual N/A expected dtype N/A got dtype N/A N/A N/A self assertEqual N/A N/A np dtype N/A np intp N/A got dtype N/A A N/A N/A np arange 100 dtype N/A np float32 N/A B N/A N/A N/A np arange 100 dtype N/A np float32 1 N/A expected N/A A B N/A got N/A ufunc A B N/A N/A N/A N/A np testing assert_allclose expected got N/A N/A N/A self assertEqual N/A expected dtype N/A got dtype N/A N/A N/A self assertEqual N/A N/A np dtype N/A np float32 N/A got dtype N/A A N/A N/A A reshape 50 2 N/A B N/A N/A B reshape 50 2 N/A expected N/A A B N/A got N/A ufunc A B N/A N/A N/A N/A np testing assert_allclose expected got N/A N/A N/A self assertEqual N/A expected dtype N/A got dtype N/A N/A N/A self assertEqual N/A N/A np dtype N/A np float32 N/A got dtype N/A test_gufunc_building_scalar_output N/A N/A self N/A N/A sum_row N/A N/A inp out N/A N/A N/A tmp 0.0 N/A i N/A range N/A N/A inp shape N/A 0 N/A N/A tmp N/A inp N/A i N/A N/A out N/A 0 tmp N/A N/A ufbldr N/A HsaGUFuncVectorize sum_row (n)->() N/A N/A N/A ufbldr add void(int32[:], int32[:]) N/A ufunc N/A N/A ufbldr build_ufunc N/A inp N/A N/A N/A N/A np arange 300 dtype N/A np int32 reshape 100 3 N/A out N/A ufunc inp N/A i N/A range N/A N/A inp shape N/A 0 N/A N/A N/A N/A N/A np testing assert_equal N/A N/A N/A inp N/A i sum N/A out N/A i N/A test_gufunc_scalar_input_saxpy N/A N/A self N/A N/A axpy N/A N/A a x y out N/A N/A N/A i N/A range N/A N/A out shape N/A 0 N/A N/A N/A out N/A i N/A N/A a N/A x N/A i N/A y N/A i N/A N/A ufbldr N/A HsaGUFuncVectorize axpy (),(t),(t)->(t) N/A N/A N/A ufbldr add void(float32, float32[:], float32[:], float32[:]) N/A saxpy N/A N/A ufbldr build_ufunc N/A A N/A N/A np float32 2 N/A X N/A N/A N/A N/A np arange 10 dtype N/A np float32 reshape 5 2 N/A Y N/A N/A N/A N/A np arange 10 dtype N/A np float32 reshape 5 2 N/A out N/A saxpy A X Y N/A j N/A range 5 N/A N/A i N/A range 2 N/A N/A exp N/A N/A A N/A X N/A N/A j i N/A Y N/A N/A j i N/A N/A N/A self assertTrue N/A exp N/A out N/A N/A j i N/A X N/A N/A np arange 10 dtype N/A np float32 N/A Y N/A N/A np arange 10 dtype N/A np float32 N/A out N/A saxpy A X Y N/A j N/A range 10 N/A N/A exp N/A N/A A N/A X N/A j N/A Y N/A j N/A N/A N/A self assertTrue N/A exp N/A out N/A j N/A exp N/A out N/A j N/A A N/A N/A np arange 5 dtype N/A np float32 N/A X N/A N/A N/A N/A np arange 10 dtype N/A np float32 reshape 5 2 N/A Y N/A N/A N/A N/A np arange 10 dtype N/A np float32 reshape 5 2 N/A out N/A saxpy A X Y N/A j N/A range 5 N/A N/A i N/A range 2 N/A N/A exp N/A N/A N/A A N/A j N/A X N/A N/A j i N/A Y N/A N/A j i N/A N/A N/A self assertTrue N/A exp N/A out N/A N/A j i N/A exp N/A out N/A N/A j i N/A N/A TestGUFuncDecor N/A N/A unittest TestCase N/A test_gufunc_decorator N/A N/A self N/A N/A saxpy N/A N/A a x y out N/A N/A N/A i N/A range N/A N/A out shape N/A 0 N/A N/A N/A out N/A i N/A N/A a N/A x N/A i N/A y N/A i N/A N/A guvectorize N/A void(float32, float32[:], float32[:], float32[:]) (),(t),(t)->(t) target hsa N/A A N/A N/A np float32 2 N/A X N/A N/A N/A N/A np arange 10 dtype N/A np float32 reshape 5 2 N/A Y N/A N/A N/A N/A np arange 10 dtype N/A np float32 reshape 5 2 N/A out N/A saxpy A X Y N/A j N/A range 5 N/A N/A i N/A range 2 N/A N/A exp N/A N/A A N/A X N/A N/A j i N/A Y N/A N/A j i N/A N/A N/A self assertTrue N/A exp N/A out N/A N/A j i N/A X N/A N/A np arange 10 dtype N/A np float32 N/A Y N/A N/A np arange 10 dtype N/A np float32 N/A out N/A saxpy A X Y N/A j N/A range 10 N/A N/A exp N/A N/A A N/A X N/A j N/A Y N/A j N/A N/A N/A self assertTrue N/A exp N/A out N/A j N/A exp N/A out N/A j N/A A N/A N/A np arange 5 dtype N/A np float32 N/A X N/A N/A N/A N/A np arange 10 dtype N/A np float32 reshape 5 2 N/A Y N/A N/A N/A N/A np arange 10 dtype N/A np float32 reshape 5 2 N/A out N/A saxpy A X Y N/A j N/A range 5 N/A N/A i N/A range 2 N/A N/A exp N/A N/A N/A A N/A j N/A X N/A N/A j i N/A Y N/A N/A j i N/A N/A N/A self assertTrue N/A exp N/A out N/A N/A j i N/A exp N/A out N/A N/A j i N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main