code: def get_array_scalar_binop_kernel(
      context, operator, dtype_res, dtype_a, dtype_b
  ):
      return get_elwise_kernel(
          context,
          [
              VectorArg(dtype_res, "out", with_offset=True),
              VectorArg(dtype_a, "a", with_offset=True),
              ScalarArg(dtype_b, "b"),
          ],
          f"out[i] = a[i] {operator} b",
          name="scalar_binop_kernel",
      )
  
imports: import enum
  from typing import Any, List, Optional, Tuple, Union
  import numpy
  import pyopencl
  from pyopencl.tools import context_dependent_memoize
  from pyopencl.tools import dtype_to_ctype, DtypedArgument, VectorArg, ScalarArg, KernelTemplateBase, dtype_to_c_struct
  from pytools import memoize_method
label_desc: Use image node_id 22 for calling a global function with example usage: get_array_scalar_binop_kernel(context, operator, dtype_res, dtype_a, dtype_b) and returns: get_elwise_kernel