Searched refs:get_default_context (Results 1 – 9 of 9) sorted by relevance
149 ctx = context.get_default_context()266 context.get_default_context().add_post_execution_callback(callback)271 context.get_default_context().clear_post_execution_callbacks()312 default_context = context.get_default_context()
479 def get_default_context(): function
37 extern int get_default_context(const char *user,
390 context.get_default_context().device_name)405 context.get_default_context().device_name)430 context.get_default_context().device_name)
100 int get_default_context(const char *user, in get_default_context() function
495 ctx = context.get_default_context()
484 self.assertEqual(context.get_default_context().device_name, v.device)
1115 ctx = context.get_default_context()
467 context.get_default_context().scalar_cache().clear()