From 26f5978aae6c82143a6be686741a201f5d4fc0b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 9 Aug 2018 18:17:09 +0200 Subject: [PATCH] Don't check return code of calling cl_query --- benchmark/space/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/space/__init__.py b/benchmark/space/__init__.py index e27f0d9..51ba20b 100644 --- a/benchmark/space/__init__.py +++ b/benchmark/space/__init__.py @@ -889,7 +889,7 @@ def cl_query_executable_get(): def query_opencl_compute_units(): binary = cl_query_executable_get() - output = subprocess.check_output([binary]) + output = subprocess.run([binary], stdout=subprocess.PIPE).stdout lines = output.splitlines() compute_units = [] for line in lines: