From 6d87fb60b608bec4947ffb06a23ab8d0064c84e1 Mon Sep 17 00:00:00 2001 From: Isuru Fernando <isuruf@gmail.com> Date: Sun, 24 May 2020 14:00:49 -0500 Subject: [PATCH] Test if pocl-cuda works --- .gitlab-ci.yml | 20 +++++++++++++++++++- .test-conda-env-py3.yml | 1 + 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7025cb63..069eeae7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -71,11 +71,29 @@ Python 3.6 Conda: # Disable caching to ensure SymEngine code generation is exercised. - export SUMPY_NO_CACHE=1 - export SUMPY_FORCE_SYMBOLIC_BACKEND=symengine + - PYOPENCL_TEST=portable:pthread - CONDA_ENVIRONMENT=.test-conda-env-py3.yml - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project-within-miniconda.sh - ". ./build-and-test-py-project-within-miniconda.sh" tags: - - linux + - porter + except: + - tags + artifacts: + reports: + junit: test/pytest.xml + +Python 3.6 Pocl Titan X: + script: + # Disable caching to ensure SymEngine code generation is exercised. + - export SUMPY_NO_CACHE=1 + - export SUMPY_FORCE_SYMBOLIC_BACKEND=symengine + - PYOPENCL_TEST=portable:titan + - CONDA_ENVIRONMENT=.test-conda-env-py3.yml + - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project-within-miniconda.sh + - ". ./build-and-test-py-project-within-miniconda.sh" + tags: + - nvidia-titan-x except: - tags artifacts: diff --git a/.test-conda-env-py3.yml b/.test-conda-env-py3.yml index c9e29e12..f9ede8fc 100644 --- a/.test-conda-env-py3.yml +++ b/.test-conda-env-py3.yml @@ -8,6 +8,7 @@ dependencies: - numpy - sympy - pocl +- pocl-cuda - islpy - pyopencl - python=3 -- GitLab