Home
last modified time | relevance | path

Searched refs:current_task (Results 1 – 18 of 18) sorted by relevance

/external/llvm-project/openmp/runtime/src/
Dkmp_taskdeps.cpp116 kmp_taskdata_t *current_task) { in __kmp_dephash_create() argument
121 if (current_task->td_flags.tasktype == TASK_IMPLICIT) in __kmp_dephash_create()
519 kmp_taskdata_t *current_task = thread->th.th_current_task; in __kmpc_omp_task_with_deps() local
523 if (!current_task->ompt_task_info.frame.enter_frame.ptr) in __kmpc_omp_task_with_deps()
524 current_task->ompt_task_info.frame.enter_frame.ptr = in __kmpc_omp_task_with_deps()
529 current_task ? &(current_task->ompt_task_info.task_data) : &task_data, in __kmpc_omp_task_with_deps()
530 current_task ? &(current_task->ompt_task_info.frame) : NULL, in __kmpc_omp_task_with_deps()
583 bool serial = current_task->td_flags.team_serial || in __kmpc_omp_task_with_deps()
584 current_task->td_flags.tasking_ser || in __kmpc_omp_task_with_deps()
585 current_task->td_flags.final; in __kmpc_omp_task_with_deps()
[all …]
Dkmp_tasking.cpp498 kmp_taskdata_t *current_task) { in __kmp_task_start() argument
504 gtid, taskdata, current_task)); in __kmp_task_start()
511 current_task->td_flags.executing = 0; in __kmp_task_start()
560 kmp_taskdata_t *current_task, in __ompt_task_start() argument
571 &(current_task->ompt_task_info.task_data), status, in __ompt_task_start()
574 taskdata->ompt_task_info.scheduling_parent = current_task; in __ompt_task_start()
603 kmp_taskdata_t *current_task = __kmp_threads[gtid]->th.th_current_task; in __kmpc_omp_task_begin_if0_template() local
607 gtid, loc_ref, taskdata, current_task)); in __kmpc_omp_task_begin_if0_template()
621 __kmp_task_start(gtid, task, current_task); in __kmpc_omp_task_begin_if0_template()
625 if (current_task->ompt_task_info.frame.enter_frame.ptr == NULL) { in __kmpc_omp_task_begin_if0_template()
[all …]
Dkmp_gsupport.cpp1232 kmp_taskdata_t *current_task; local
1234 current_task = __kmp_threads[gtid]->th.th_current_task;
1235 current_task->ompt_task_info.frame.enter_frame.ptr = OMPT_GET_FRAME_ADDRESS(0);
1291 current_task->ompt_task_info.frame.enter_frame = ompt_data_none;
/external/toolchain-utils/bestflags/
Dhill_climb_best_neighbor.py94 current_task = self._next_task
95 flag_set = current_task.GetFlags()
106 return [HillClimbingBestBranch(children_tasks, set([current_task]),
/external/google-breakpad/src/client/mac/handler/
Dexception_handler.cc439 mach_port_t current_task = mach_task_self(); in ForwardException() local
440 task_get_exception_ports(current_task, in ForwardException()
674 mach_port_t current_task = mach_task_self(); in InstallHandler() local
675 kern_return_t result = task_get_exception_ports(current_task, in InstallHandler()
685 result = task_set_exception_ports(current_task, s_exception_mask, in InstallHandler()
708 mach_port_t current_task = mach_task_self(); in UninstallHandler() local
712 result = task_set_exception_ports(current_task, previous_->masks[i], in UninstallHandler()
741 mach_port_t current_task = mach_task_self(); in Setup() local
742 kern_return_t result = mach_port_allocate(current_task, in Setup()
747 result = mach_port_insert_right(current_task, handler_port_, handler_port_, in Setup()
[all …]
/external/google-breakpad/src/common/mac/
DMachIPC.mm168 mach_port_t current_task = mach_task_self();
170 init_result_ = mach_port_allocate(current_task,
177 init_result_ = mach_port_insert_right(current_task,
186 init_result_ = task_get_bootstrap_port(current_task, &task_bootstrap_port);
200 mach_port_t current_task = mach_task_self();
202 init_result_ = mach_port_allocate(current_task,
209 init_result_ = mach_port_insert_right(current_task,
/external/python/cpython3/Lib/asyncio/
Dtasks.py34 def current_task(loop=None): function
946 current_task = _current_tasks.get(loop)
947 if current_task is not None:
954 current_task = _current_tasks.get(loop)
955 if current_task is not task:
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_tasks.py2018 self.assertIsNone(asyncio.current_task(loop=self.loop))
2021 self.assertIs(asyncio.current_task(loop=loop), task)
2023 self.assertIs(asyncio.current_task(None), task)
2024 self.assertIs(asyncio.current_task(), task)
2028 self.assertIsNone(asyncio.current_task(loop=self.loop))
2031 self.assertIsNone(asyncio.current_task(loop=self.loop))
2037 self.assertTrue(asyncio.current_task(loop=loop) is task1)
2039 self.assertTrue(asyncio.current_task(loop=loop) is task1)
2043 self.assertTrue(asyncio.current_task(loop=loop) is task2)
2046 self.assertTrue(asyncio.current_task(loop=loop) is task2)
[all …]
/external/tensorflow/tensorflow/core/data/service/
Ddispatcher_impl.cc261 for (int64 current_task : current_tasks) { in WorkerHeartbeat() local
262 if (!correct_tasks_set.contains(current_task)) { in WorkerHeartbeat()
263 response->add_tasks_to_delete(current_task); in WorkerHeartbeat()
/external/python/cpython3/Doc/library/
Dasyncio-api-index.rst42 * - :func:`current_task`
Dasyncio-task.rst721 .. function:: current_task(loop=None)
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a4.rst513 Implement ``asyncio.current_task()`` and ``asyncio.all_tasks()``. Add
516 and ``asyncio._unregister_task``. Deprecate ``asyncio.Task.current_task()``
D3.9.0b4.rst307 Removed :meth:`asyncio.Task.current_task` and
D3.6.1rc1.rst261 Fix Task.current_task and Task.all_tasks implemented in C to accept None
D3.7.0a1.rst3326 Fix Task.current_task and Task.all_tasks implemented in C to accept None
/external/python/cpython3/Doc/whatsnew/
D3.7.rst668 * The new :func:`asyncio.current_task` function returns the currently running
671 The :meth:`Task.current_task() <asyncio.Task.current_task>` and
1958 The :meth:`asyncio.Task.current_task` and :meth:`asyncio.Task.all_tasks`
D3.9.rst1034 * The :meth:`asyncio.Task.current_task` and :meth:`asyncio.Task.all_tasks`
1036 :func:`asyncio.current_task` and :func:`asyncio.all_tasks` instead.
/external/python/cpython3/Misc/
DHISTORY2931 - Added a Task.current_task() class method to asyncio.