From 6d87fb60b608bec4947ffb06a23ab8d0064c84e1 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Sun, 24 May 2020 14:00:49 -0500 Subject: [PATCH 1/3] 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 From 22f7d11b67079cb1ef1bf3c574439db4492faf3e Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Fri, 29 May 2020 05:19:02 +0200 Subject: [PATCH 2/3] Add export --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 069eeae7..cdcc0e80 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -71,7 +71,7 @@ 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 + - export 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" @@ -88,7 +88,7 @@ Python 3.6 Pocl Titan X: # Disable caching to ensure SymEngine code generation is exercised. - export SUMPY_NO_CACHE=1 - export SUMPY_FORCE_SYMBOLIC_BACKEND=symengine - - PYOPENCL_TEST=portable:titan + - export 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" -- GitLab From 4eb31382128aaab0f5cf2114b7c5dc14387d1394 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Sun, 31 May 2020 02:58:58 +0200 Subject: [PATCH 3/3] Apply suggestion to .gitlab-ci.yml --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cdcc0e80..0ff1485f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -83,7 +83,7 @@ Python 3.6 Conda: reports: junit: test/pytest.xml -Python 3.6 Pocl Titan X: +Python 3.6 POCL Titan X: script: # Disable caching to ensure SymEngine code generation is exercised. - export SUMPY_NO_CACHE=1 -- GitLab