OpenCL initialisation fix

This commit is contained in:
Peter Šurda 2016-11-14 20:21:46 +01:00
parent b9748c55aa
commit 5a438ccddd
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -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: