@@ -32,6 +32,14 @@ if test "$CI_SERVER_NAME" = "GitLab" && test -d ~/.local/lib; then
exit 1
fi
rewrite_pyopencl_test()
{
if python -c'import pyopencl as cl; import pyopencl.characterize as c; v = [c.get_pocl_version(p) for p in cl.get_platforms()]; v, = [i for i in v if i]; import sys; sys.exit(not v >= (4,0))';then
export PYOPENCL_TEST
PYOPENCL_TEST="$(echo"${PYOPENCL_TEST}" | sed s/pthread/cpu/ )"