Lines Matching refs:ffrt_function_header_t

34 | ffrt_queue_submit(ffrt_queue_t queue, ffrt_function_header_t* f, const ffrt_task_attr_t* attr)   …
35 | ffrt_queue_submit_h(ffrt_queue_t queue, ffrt_function_header_t* f, const ffrt_task_attr_t* attr) …
58 | ffrt_submit_base(ffrt_function_header_t* f, const ffrt_deps_t* in_deps, const ffrt_deps_t* out_de…
59 | ffrt_submit_h_base(ffrt_function_header_t* f, const ffrt_deps_t* in_deps, const ffrt_deps_t* out_…
85 const int ffrt_auto_managed_function_storage_size = 64 + sizeof(ffrt_function_header_t);
98 } ffrt_function_header_t;
100 void ffrt_submit_base(ffrt_function_header_t* func, const ffrt_deps_t* in_deps, const ffrt_deps_t* …
111 * CPU Function的指针,该指针执行的数据结构,按照`ffrt_function_header_t`定义的描述了该CPU Task如何执行和销毁的函数指针,FFRT通过这两个函数指针完成T…
138 * ffrt_function_header_t 中定义了两个函数指针:
149 function(ffrt_function_header_t h, CT&& c) : header(h), closure(std::forward<CT>(c)) {}
150 ffrt_function_header_t header;
169 inline ffrt_function_header_t* create_function_wrapper(T&& func)
179 return (ffrt_function_header_t*)f;
257 ffrt_function_header_t header;
280 static inline ffrt_function_header_t* ffrt_create_function_wrapper(const ffrt_function_t func,
291 return (ffrt_function_header_t*)f;
494 ffrt_function_header_t header;
517 static inline ffrt_function_header_t* ffrt_create_function_wrapper(const ffrt_function_t func,
528 return (ffrt_function_header_t*)f;
569 * CPU Function的指针,该指针执行的数据结构,按照`ffrt_function_header_t`定义的描述了该CPU Task如何执行和销毁的函数指针,FFRT通过这两个函数指针完成T…
625 ffrt_function_header_t header;
648 static inline ffrt_function_header_t* ffrt_create_function_wrapper(const ffrt_function_t func,
659 return (ffrt_function_header_t*)f;
894 ffrt_function_header_t header;
913 static inline ffrt_function_header_t* create_function_wrapper(T&& func,
922 return reinterpret_cast<ffrt_function_header_t*>(f);
931ffrt_function_header_t* queueFunc_t = create_function_wrapper((queueFunc), ffrt_function_kind_queu…
1331 ffrt_function_header_t header;
1354 static inline ffrt_function_header_t* ffrt_create_function_wrapper(const ffrt_function_t func,
1365 return (ffrt_function_header_t*)f;
1517 ffrt_function_header_t header;
1540 static inline ffrt_function_header_t* ffrt_create_function_wrapper(const ffrt_function_t func,
1551 return (ffrt_function_header_t*)f;
1639 ffrt_function_header_t header;
1662 static inline ffrt_function_header_t* ffrt_create_function_wrapper(const ffrt_function_t func,
1673 return (ffrt_function_header_t*)f;
2352 ffrt_function_header_t header;
2371 static inline ffrt_function_header_t* create_function_wrapper(T&& func,
2380 return reinterpret_cast<ffrt_function_header_t*>(f);
2385 ffrt_function_header_t header;
2408 static inline ffrt_function_header_t* ffrt_create_function_wrapper(const ffrt_function_t func,
2419 return reinterpret_cast<ffrt_function_header_t*>(f);