From 2c65b1f8343db9d04e0c527c2960292b4368600b Mon Sep 17 00:00:00 2001
From: Stephan Seitz <stephan.seitz@fau.de>
Date: Wed, 22 Jan 2020 21:41:42 +0100
Subject: [PATCH] Remove clear_global_ctx in OpenCL test (apparently createing
 two CL contexts does not work always)

---
 pystencils_tests/test_opencl.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/pystencils_tests/test_opencl.py b/pystencils_tests/test_opencl.py
index ea5b1ecbc..af13c51c1 100644
--- a/pystencils_tests/test_opencl.py
+++ b/pystencils_tests/test_opencl.py
@@ -246,8 +246,6 @@ def test_kernel_creation():
 
     print(assignments)
 
-    pystencils.opencl.clear_global_ctx()
-
     import pystencils.opencl.autoinit
     ast = pystencils.create_kernel(assignments, target='opencl')
 
-- 
GitLab