From 5a438ccddd843ad10e116b20b11791b4768ad5fb Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Mon, 14 Nov 2016 20:21:46 +0100 Subject: [PATCH] OpenCL initialisation fix --- src/openclpow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openclpow.py b/src/openclpow.py index 2f7f0158..641db324 100644 --- a/src/openclpow.py +++ b/src/openclpow.py @@ -24,7 +24,7 @@ except: libAvailable = False def initCL(): - global ctx, queue, program, gpus, hash_dt, vendors + global ctx, queue, program, gpus, enabledGpus, hash_dt, vendors try: hash_dt = numpy.dtype([('target', numpy.uint64), ('v', numpy.str_, 73)]) try: