Skip to content

Commit

Permalink
openCL device list initialization correction
Browse files Browse the repository at this point in the history
  • Loading branch information
yxrmz authored Sep 28, 2016
1 parent 4832027 commit f2f856e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xrt/xrtQook/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,8 @@ def initAllModels(self):
if isOpenCL:
iDeviceCPU = []
iDeviceGPU = []
CPUdevices = []
GPUdevices = []
for platform in cl.get_platforms():
try: # at old pyopencl versions:
CPUdevices =\
Expand Down

0 comments on commit f2f856e

Please sign in to comment.