code: def get_minmax_neutral(what, dtype):
      dtype = np.dtype(dtype)
      if issubclass(dtype.type, np.inexact):
          if what == "min":
              return "MY_INFINITY"
          elif what == "max":
              return "-MY_INFINITY"
          else:
              raise ValueError("what is not min or max.")
      else:
          if what == "min":
              return str(np.iinfo(dtype).max)
          elif what == "max":
              return str(np.iinfo(dtype).min)
          else:
              raise ValueError("what is not min or max.")
  
file_path: pycuda/pycuda/reduction.py
imports: from pycuda.tools import context_dependent_memoize
  from pycuda.tools import dtype_to_ctype
  import numpy
label_desc: Use image node_id 9 for calling a global function with example usage: get_minmax_neutral(what, dtype) and returns: str, str, str, str