Import numpy after pyopencl

This commit is contained in:
Dmitri Bogomolov 2018-06-21 13:03:17 +03:00
parent e92a85e1c5
commit 96773c5d6d
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13
1 changed files with 3 additions and 2 deletions

View File

@ -20,11 +20,12 @@ vendors = []
hash_dt = None
import numpy
import pyopencl as cl
import numpy
except ImportError:
libAvailable = False
def initCL():
global ctx, queue, program, hash_dt, libAvailable
if libAvailable is False: