code: def clear_context_caches():
      for func in context_dependent_memoized_functions:
          try:
              ctx_dict = func._pycuda_ctx_dep_memoize_dic
          except AttributeError:
              pass
          else:
              ctx_dict.clear()
  
imports: import pycuda.driver
  import pycuda._driver
  import numpy
  from pycuda.compyte.dtypes import register_dtype, get_or_register_dtype, _fill_dtype_registry, dtype_to_ctype
label_desc: Use image node_id 10 for calling a global function with example usage: clear_context_caches() without return types