diff --git a/pycuda/compyte b/pycuda/compyte index fbfe788a2dcb190fd241fd42ad047e33bafd85b8..d1f993daecc03947d9e6e3e60d2a5145ecbf3786 160000 --- a/pycuda/compyte +++ b/pycuda/compyte @@ -1 +1 @@ -Subproject commit fbfe788a2dcb190fd241fd42ad047e33bafd85b8 +Subproject commit d1f993daecc03947d9e6e3e60d2a5145ecbf3786 diff --git a/pycuda/elementwise.py b/pycuda/elementwise.py index e6dd5a9223dd299f8acbfdf5307a7ef06e321f65..633edd78d7b2ae07dcc61b53fd3b7a498df0854f 100644 --- a/pycuda/elementwise.py +++ b/pycuda/elementwise.py @@ -546,8 +546,6 @@ def get_binary_minmax_kernel(func, dtype_x, dtype_y, dtype_z, use_scalar): if np.float64 not in [dtype_x, dtype_y]: func = func + "f" - from pytools import any - if any(dt.kind == "f" for dt in [dtype_x, dtype_y, dtype_z]): func = "f" + func