File tree Expand file tree Collapse file tree 2 files changed +5
-19
lines changed
Expand file tree Collapse file tree 2 files changed +5
-19
lines changed Original file line number Diff line number Diff line change 5757 # for hypothesis-driven test case generation
5858 # pytest $GITHUB_WORKSPACE/tools/pre_compile_ufuncs.py -s
5959 # only run a subset of the conformance tests to get started
60- pytest array_api_tests/meta/test_broadcasting.py array_api_tests/meta/test_equality_mapping.py array_api_tests/meta/test_signatures.py array_api_tests/meta/test_special_cases.py array_api_tests/test_constants.py array_api_tests/meta/test_utils.py array_api_tests/test_creation_functions.py::test_ones array_api_tests/test_creation_functions.py::test_ones_like array_api_tests/test_data_type_functions.py::test_result_type array_api_tests/test_array_object.py::test_scalar_casting array_api_tests/test_operators_and_elementwise_functions.py::test_sign array_api_tests/test_operators_and_elementwise_functions.py::test_round array_api_tests/test_operators_and_elementwise_functions.py::test_trunc array_api_tests/test_operators_and_elementwise_functions.py::test_ceil array_api_tests/test_operators_and_elementwise_functions.py::test_floor array_api_tests/test_operators_and_elementwise_functions.py::test_isnan array_api_tests/test_operators_and_elementwise_functions.py::test_equal array_api_tests/test_creation_functions.py::test_zeros array_api_tests/test_creation_functions.py::test_zeros_like array_api_tests/test_creation_functions.py::test_full_like
60+ pytest array_api_tests/meta/test_broadcasting.py array_api_tests/meta/test_equality_mapping.py array_api_tests/meta/test_signatures.py array_api_tests/meta/test_special_cases.py array_api_tests/test_constants.py array_api_tests/meta/test_utils.py array_api_tests/test_creation_functions.py::test_ones array_api_tests/test_creation_functions.py::test_ones_like array_api_tests/test_data_type_functions.py::test_result_type array_api_tests/test_array_object.py::test_scalar_casting array_api_tests/test_operators_and_elementwise_functions.py::test_isnan array_api_tests/test_operators_and_elementwise_functions.py::test_equal array_api_tests/test_creation_functions.py::test_zeros array_api_tests/test_creation_functions.py::test_zeros_like array_api_tests/test_creation_functions.py::test_full_like
Original file line number Diff line number Diff line change 3434from pykokkos .interface .views import astype
3535
3636import numpy as np
37- from pykokkos .lib .pk_array import PKArray
3837
3938
40- def _pk_func (np_func ):
41- def wrapper (* args , ** kwargs ):
42- return PKArray (np_func (* args , ** kwargs ))
43-
44- return wrapper
45-
46-
47- isnan = _pk_func (np .isnan )
48- isinf = _pk_func (np .isinf )
49- isfinite = _pk_func (np .isfinite )
50- equal = _pk_func (np .equal )
51- sign = _pk_func (np .sign )
52- round = _pk_func (np .round )
53- trunc = _pk_func (np .trunc )
54- ceil = _pk_func (np .ceil )
55- floor = _pk_func (np .floor )
56-
39+ isnan = np .isnan
40+ isinf = np .isinf
41+ isfinite = np .isfinite
42+ equal = np .equal
5743
5844runtime_singleton .runtime = Runtime ()
5945
You can’t perform that action at this time.
0 commit comments