File tree Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 44
44
run : conda install conda-build
45
45
- name : Build conda package
46
46
run : |
47
- CHANNELS="-c intel -c main --override-channels"
47
+ CHANNELS="-c dppy/label/tools -c intel -c main --override-channels"
48
48
VERSIONS="--python ${{ matrix.python }}"
49
49
TEST="--no-test"
50
50
conda build \
@@ -161,13 +161,20 @@ jobs:
161
161
run : |
162
162
. $CONDA/etc/profile.d/conda.sh
163
163
conda activate test_dpctl
164
- python -c "import dpctl; dpctl.lsplatform()"
164
+ python -c "import dpctl; dpctl.lsplatform(verbosity=2)"
165
+ - name : Install gdb
166
+ run : |
167
+ sudo apt-get install -y gdb
168
+ - name : Run test_elementwise under gdb
169
+ run : |
170
+ . $CONDA/etc/profile.d/conda.sh
171
+ conda activate test_dpctl
172
+ gdb --batch -ex r -ex 'info sharedlibrary' -ex 'set print elements 1000' -ex bt --args ${CONDA_PREFIX}/bin/python -m pytest -q -ra --disable-warnings --pyargs dpctl.tests.test_tensor_elementwise::test_cos_order -vv || true
165
173
- name : Run tests
166
174
run : |
167
175
. $CONDA/etc/profile.d/conda.sh
168
176
conda activate test_dpctl
169
- # clinfo -l
170
- python -m pytest --pyargs $MODULE_NAME
177
+ python -m pytest -v --pyargs $MODULE_NAME
171
178
172
179
test_windows :
173
180
needs : build_windows
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ requirements:
14
14
build :
15
15
- {{ compiler('cxx') }}
16
16
- {{ compiler('dpcpp') }} >=2023.1 # [not osx]
17
- - sysroot_linux-64 >=2.17 # [linux]
17
+ - sysroot_linux-64 >=2.28 # [linux]
18
18
host :
19
19
- setuptools
20
20
- cmake >=3.21
Original file line number Diff line number Diff line change 3
3
set -e
4
4
5
5
${PYTHON} -c " import dpctl; print(dpctl.__version__)"
6
- ${PYTHON} -c " import dpctl; dpctl.lsplatform()"
6
+ ${PYTHON} -c " import dpctl; dpctl.lsplatform(verbosity=2 )"
7
7
${PYTHON} -m pytest -q -ra --disable-warnings -p no:faulthandler --cov dpctl --cov-report term-missing --pyargs dpctl -vv
You can’t perform that action at this time.
0 commit comments