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.")
  
imports: from dataclasses import dataclass
  from typing import Any, List, Optional, Tuple, Union
  import numpy
  import pyopencl
  from pyopencl.tools import DtypedArgument, KernelTemplateBase, context_dependent_memoize, dtype_to_ctype, _process_code_for_macro
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