Lines Matching refs:attr
319 * @param attr Indicates a task attribute.
323 static inline void submit(std::function<void()>&& func, const task_attr& attr = {})
325 return ffrt_submit_base(create_function_wrapper(std::move(func)), nullptr, nullptr, &attr);
333 * @param attr Indicates a task attribute.
338 const task_attr& attr = {})
341 return ffrt_submit_base(create_function_wrapper(std::move(func)), &in, nullptr, &attr);
350 * @param attr Indicates a task attribute.
355 std::initializer_list<dependence> out_deps, const task_attr& attr = {})
359 return ffrt_submit_base(create_function_wrapper(std::move(func)), &in, &out, &attr);
367 * @param attr Indicates a task attribute.
372 const task_attr& attr = {})
375 return ffrt_submit_base(create_function_wrapper(std::move(func)), &in, nullptr, &attr);
384 * @param attr Indicates a task attribute.
389 const std::vector<dependence>& out_deps, const task_attr& attr = {})
393 return ffrt_submit_base(create_function_wrapper(std::move(func)), &in, &out, &attr);
400 * @param attr Indicates a task attribute.
404 static inline void submit(const std::function<void()>& func, const task_attr& attr = {})
406 return ffrt_submit_base(create_function_wrapper(func), nullptr, nullptr, &attr);
414 * @param attr Indicates a task attribute.
419 const task_attr& attr = {})
422 return ffrt_submit_base(create_function_wrapper(func), &in, nullptr, &attr);
431 * @param attr Indicates a task attribute.
436 std::initializer_list<dependence> out_deps, const task_attr& attr = {})
440 return ffrt_submit_base(create_function_wrapper(func), &in, &out, &attr);
448 * @param attr Indicates a task attribute.
453 const task_attr& attr = {})
456 return ffrt_submit_base(create_function_wrapper(func), &in, nullptr, &attr);
465 * @param attr Indicates a task attribute.
470 const std::vector<dependence>& out_deps, const task_attr& attr = {})
474 return ffrt_submit_base(create_function_wrapper(func), &in, &out, &attr);
481 * @param attr Indicates a task attribute.
487 static inline task_handle submit_h(std::function<void()>&& func, const task_attr& attr = {})
489 return ffrt_submit_h_base(create_function_wrapper(std::move(func)), nullptr, nullptr, &attr);
497 * @param attr Indicates a task attribute.
504 const task_attr& attr = {})
507 return ffrt_submit_h_base(create_function_wrapper(std::move(func)), &in, nullptr, &attr);
516 * @param attr Indicates a task attribute.
523 std::initializer_list<dependence> out_deps, const task_attr& attr = {})
527 return ffrt_submit_h_base(create_function_wrapper(std::move(func)), &in, &out, &attr);
535 * @param attr Indicates a task attribute.
542 const task_attr& attr = {})
545 return ffrt_submit_h_base(create_function_wrapper(std::move(func)), &in, nullptr, &attr);
554 * @param attr Indicates a task attribute.
561 const std::vector<dependence>& out_deps, const task_attr& attr = {})
565 return ffrt_submit_h_base(create_function_wrapper(std::move(func)), &in, &out, &attr);
572 * @param attr Indicates a task attribute.
578 static inline task_handle submit_h(const std::function<void()>& func, const task_attr& attr = {})
580 return ffrt_submit_h_base(create_function_wrapper(func), nullptr, nullptr, &attr);
588 * @param attr Indicates a task attribute.
595 const task_attr& attr = {})
598 return ffrt_submit_h_base(create_function_wrapper(func), &in, nullptr, &attr);
607 * @param attr Indicates a task attribute.
614 std::initializer_list<dependence> out_deps, const task_attr& attr = {})
618 return ffrt_submit_h_base(create_function_wrapper(func), &in, &out, &attr);
626 * @param attr Indicates a task attribute.
633 const task_attr& attr = {})
636 return ffrt_submit_h_base(create_function_wrapper(func), &in, nullptr, &attr);
645 * @param attr Indicates a task attribute.
652 const std::vector<dependence>& out_deps, const task_attr& attr = {})
656 return ffrt_submit_h_base(create_function_wrapper(func), &in, &out, &attr);