Skip to content
Snippets Groups Projects

Fix OpenCL with older Sympy and pyopencl versions

Merged Michael Kuron requested to merge opencl-fix into master
Compare and Show latest version
1 file
+ 1
1
Preferences
Compare changes
@@ -83,7 +83,7 @@ class OpenClSympyPrinter(CudaSympyPrinter):
# In CUDA, you have to differentiate between `sin` and `sinf`
try:
_print_math_func = CustomSympyPrinter._print_math_func
except:
except AttributeError:
pass
_print_Pow = CustomSympyPrinter._print_Pow