Fix for complex max/min
@@ -838,6 +838,10 @@ def _try_elementwise_binary_routine(
compute_dtype = a.dtype
+ if (op == cutensor.OP_MAX or op == cutensor.OP_MIN) and \
+ compute_dtype.kind == 'c':
+ return None
+
if out is None:
if c._c_contiguous:
pass
