Skip to content
Snippets Groups Projects
Commit 95c0d57f authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Merge branch 'master' of t:src/pyopencl

parents 18030d79 d65c60e8
No related branches found
No related tags found
No related merge requests found
...@@ -168,7 +168,7 @@ def get_reduction_source( ...@@ -168,7 +168,7 @@ def get_reduction_source(
try: try:
return device.warp_size_nv return device.warp_size_nv
except: except:
if "nvidida" in device.vendor.lower(): if "nvidia" in device.vendor.lower():
from warnings import warn from warnings import warn
warn("Reduction might be unnecessarily slow: " warn("Reduction might be unnecessarily slow: "
"can't query warp size on Nvidia device") "can't query warp size on Nvidia device")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment