diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index 6aa9cb16151..79835935718 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -169,7 +169,7 @@ jobs: channel-path: '${{ github.workspace }}/channel/' pkg-path-in-channel: '${{ github.workspace }}/channel/linux-64/' extracted-pkg-path: '${{ github.workspace }}/pkg/' - tests-path: '${{ github.workspace }}/pkg/info/test/' + tests-path: '${{ github.workspace }}/pkg/info/test/tests/' ver-json-path: '${{ github.workspace }}/version.json' steps: @@ -241,7 +241,7 @@ jobs: # TODO: run the whole scope once the issues on CPU are resolved - name: Run tests - run: python -m pytest -q -ra --disable-warnings -vv tests/test_arraycreation.py tests/test_dparray.py tests/test_mathematical.py + run: python -m pytest -q -ra --disable-warnings -vv test_arraycreation.py test_dparray.py test_mathematical.py test_special.py env: SYCL_ENABLE_HOST_DEVICE: '1' working-directory: ${{ env.tests-path }} @@ -268,7 +268,7 @@ jobs: channel-path: '${{ github.workspace }}\channel\' pkg-path-in-channel: '${{ github.workspace }}\channel\win-64\' extracted-pkg-path: '${{ github.workspace }}\pkg' - tests-path: '${{ github.workspace }}\pkg\info\test\' + tests-path: '${{ github.workspace }}\pkg\info\test\tests\' ver-json-path: '${{ github.workspace }}\version.json' active-env-name: 'test' @@ -416,7 +416,7 @@ jobs: # TODO: run the whole scope once the issues on CPU are resolved - name: Run tests - run: python -m pytest -q -ra --disable-warnings -vv tests\test_arraycreation.py tests\test_dparray.py tests\test_mathematical.py + run: python -m pytest -q -ra --disable-warnings -vv test_arraycreation.py test_dparray.py test_mathematical.py test_special.py working-directory: ${{ env.tests-path }} upload_linux: diff --git a/dpnp/dpnp_iface_libmath.py b/dpnp/dpnp_iface_libmath.py index 934f420bd68..6ef787487af 100644 --- a/dpnp/dpnp_iface_libmath.py +++ b/dpnp/dpnp_iface_libmath.py @@ -2,7 +2,7 @@ # distutils: language = c++ # -*- coding: utf-8 -*- # ***************************************************************************** -# Copyright (c) 2016-2020, Intel Corporation +# Copyright (c) 2016-2022, Intel Corporation # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -77,7 +77,7 @@ def erf(in_array1): """ - x1_desc = dpnp.get_dpnp_descriptor(in_array1, copy_when_strides=False) + x1_desc = dpnp.get_dpnp_descriptor(in_array1, copy_when_strides=False, copy_when_nondefault_queue=False) if x1_desc: return dpnp_erf(x1_desc).get_pyobj()