OpenCL initialisation fix
This commit is contained in:
parent
b9748c55aa
commit
5a438ccddd
|
@ -24,7 +24,7 @@ except:
|
||||||
libAvailable = False
|
libAvailable = False
|
||||||
|
|
||||||
def initCL():
|
def initCL():
|
||||||
global ctx, queue, program, gpus, hash_dt, vendors
|
global ctx, queue, program, gpus, enabledGpus, hash_dt, vendors
|
||||||
try:
|
try:
|
||||||
hash_dt = numpy.dtype([('target', numpy.uint64), ('v', numpy.str_, 73)])
|
hash_dt = numpy.dtype([('target', numpy.uint64), ('v', numpy.str_, 73)])
|
||||||
try:
|
try:
|
||||||
|
|
Reference in New Issue
Block a user