From 771029c66d7a7167573bba86298587b4e18a5afe Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 7 Dec 2020 18:27:21 -0600 Subject: [PATCH] Stop using pytools.{any,all} --- pycuda/compyte | 2 +- pycuda/elementwise.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pycuda/compyte b/pycuda/compyte index fbfe788a..d1f993da 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 e6dd5a92..633edd78 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 -- GitLab