code: def _cuda_can_cast(
      from_dtype: npt.DTypeLike, to_dtype: npt.DTypeLike
  ) -> bool:
      from_dtype = numpy.dtype(from_dtype)
      to_dtype = numpy.dtype(to_dtype)
      return _typechars.find(from_dtype.char) <= _typechars.find(
          to_dtype.char
      )
  
file_path: cupy/cupyx/jit/_cuda_typerules.py
imports: import ast
  from typing import Any, Callable, Mapping, Optional, Tuple, Type
  import numpy
  import numpy.typing
  import operator
  import cupy
  from cupy._logic import ops
  from cupy._math import arithmetic
  from cupy._logic import comparison
  from cupy._binary import elementwise
  from cupy import _core
  from cupyx.jit import _cuda_types
label_desc: Use image node_id 4 for calling a global function with example usage: _cuda_can_cast(from_dtype, to_dtype) and returns: unknown