Updated code quality ignored bare except warnings changes in openclpow.py

This commit is contained in:
kuldeep.k@cisinlabs.com 2021-08-25 20:19:45 +05:30
parent 7702b33ac2
commit bb9065ee07
No known key found for this signature in database
GPG Key ID: AF4FB299BF7C7C2A

View File

@ -47,7 +47,7 @@ def initCL():
device_type=cl.device_type.GPU))
if platform.vendor not in vendors:
vendors.append(platform.vendor)
except:
except: # noqa:E722
pass
if enabledGpus:
ctx = cl.Context(devices=enabledGpus)