MCPcopy Create free account

hub / github.com/ConorWilliams/libfork / functions

Functions705 in github.com/ConorWilliams/libfork

↓ 93 callersFunctionsync_wait
include/libfork/core/sync_wait.hpp:300
↓ 85 callersMethodget
* @brief Wait (__block__) for the result to complete and then return it. * * If the task completed with an exception then that exception will be
single_header/libfork.hpp:4757
↓ 62 callersMethodsize
single_header/libfork.hpp:1174
↓ 49 callersMethodempty
single_header/libfork.hpp:1191
↓ 33 callersMethoddata
* @brief Get a pointer to the contained object, must have been constructed first. */
single_header/libfork.hpp:1600
↓ 32 callersMethodload
* @brief Load value at ``index % this->capacity()``. */
single_header/libfork.hpp:917
↓ 26 callersMethodload_steals
* @brief Get the number of times this frame has been stolen. */
single_header/libfork.hpp:2173
↓ 25 callersMethodload
* @brief Load value at ``index % this->capacity()``. */
include/libfork/core/ext/deque.hpp:101
↓ 22 callersMethodget
* @brief Wait (__block__) for the result to complete and then return it. * * If the task completed with an exception then that exception will be
include/libfork/core/sync_wait.hpp:210
↓ 21 callersMethodresume
* @brief Resume a collection of tasks at a submission point. * * This thread must be the worker thread that the tasks were submitted to. */
single_header/libfork.hpp:5796
↓ 21 callersMethodself
* @brief Get the coroutine handle for this frames coroutine. */
single_header/libfork.hpp:2148
↓ 19 callersMethodempty
include/libfork/core/ext/deque.hpp:375
↓ 19 callersMethodrun
tools/make_single_header.cpp:34
↓ 18 callersFunctionfn
bench/source/integrate/config.hpp:16
↓ 18 callersFunctionnon_null
single_header/libfork.hpp:814
↓ 18 callersFunctionnon_null
include/libfork/core/impl/utility.hpp:261
↓ 18 callersMethodsize
include/libfork/schedule/ext/numa.hpp:434
↓ 14 callersMethodpop
single_header/libfork.hpp:1225
↓ 14 callersMethodpush
single_header/libfork.hpp:1198
↓ 14 callersMethodshared
* @brief Get access to the shared variables. */
single_header/libfork.hpp:7327
↓ 14 callersMethodshared
* @brief Get access to the shared variables. */
include/libfork/schedule/impl/numa_context.hpp:87
↓ 14 callersMethodstacklet
* @brief Get a pointer to the top of the top of the stack-stack this frame was allocated on. */
single_header/libfork.hpp:2143
↓ 14 callersMethodwait
single_header/libfork.hpp:7888
↓ 13 callersMethodstash_exception
* @brief Stash an exception that will be rethrown at the end of the next join. */
single_header/libfork.hpp:3089
↓ 12 callersMethoddestroy
* @brief Destroy the contained object, must have been constructed first. * * A noop if ``T`` is trivially destructible. */
single_header/libfork.hpp:1589
↓ 12 callersFunctionmaxerror
bench/source/matmul/config.hpp:39
↓ 12 callersFunctionresume
* @brief Resume a collection of tasks at a submission point. * * This thread must be the worker thread that the tasks were submitted to. */
include/libfork/core/ext/resume.hpp:38
↓ 12 callersMethodsplit
single_header/libfork.hpp:6796
↓ 11 callersFunctioncheck
test/source/algorithm/scan.cpp:165
↓ 11 callersFunctionfib_impl
bench/source/coroutine/incremental.cpp:26
↓ 11 callersMethodtop
* @brief Get the stacklet that the last allocation was on, this is non-null. */
single_header/libfork.hpp:1987
↓ 10 callersFunctioncontext
* @brief Checked access to a workers context. */
include/libfork/core/ext/tls.hpp:74
↓ 10 callersMethodstash_exception
* @brief Stash an exception that will be rethrown at the end of the next join. */
include/libfork/core/first_arg.hpp:175
↓ 10 callersMethodtest
(self)
test_package/conanfile.py:23
↓ 10 callersMethodunsafe_rethrow_if_exception
* @brief If this contains an exception then it will be rethrown and this this object reset to the OK state. * * This can __only__ be called when
single_header/libfork.hpp:2235
↓ 9 callersFunctionbuild_tree
* @brief Build an unbalanced tree containing all the numbers from 0 to n - 1. */
test/source/core/unbalanced.cpp:51
↓ 9 callersMethodcapacity
single_header/libfork.hpp:1186
↓ 9 callersMethodstore
* @brief Store ``val`` at ``index % this->capacity()``. */
single_header/libfork.hpp:910
↓ 9 callersMethodstore
* @brief Store ``val`` at ``index % this->capacity()``. */
include/libfork/core/ext/deque.hpp:94
↓ 8 callersMethoddata
* @brief Get a pointer to the contained object, must have been constructed first. */
include/libfork/core/impl/manual_lifetime.hpp:71
↓ 8 callersMethoddestroy
* @brief Destroy the contained object, must have been constructed first. * * A noop if ``T`` is trivially destructible. */
include/libfork/core/impl/manual_lifetime.hpp:60
↓ 8 callersMethodis_top
* @brief Check is this stacklet is the top of a stack. */
single_header/libfork.hpp:1760
↓ 8 callersMethodis_top
* @brief Check is this stacklet is the top of a stack. */
include/libfork/core/impl/stack.hpp:115
↓ 8 callersFunctionmap
single_header/libfork.hpp:775
↓ 8 callersFunctionresult_tree
bench/source/uts/config.hpp:201
↓ 8 callersFunctionrng_spawn
bench/source/uts/external/rng/brg_sha1.c:65
↓ 8 callersFunctionsetup_tree
bench/source/uts/config.hpp:175
↓ 8 callersMethodsteal
single_header/libfork.hpp:1256
↓ 8 callersMethodtop
* @brief Get the stacklet that the last allocation was on, this is non-null. */
include/libfork/core/impl/stack.hpp:342
↓ 8 callersFunctionuts_childType
bench/source/uts/external/uts.c:240
↓ 8 callersFunctionuts_initRoot
bench/source/uts/external/uts.c:122
↓ 8 callersFunctionuts_numChildren
bench/source/uts/external/uts.c:192
↓ 7 callersMethodcontext
* @brief Checked access to a workers context. */
single_header/libfork.hpp:2541
↓ 7 callersFunctionfinalize
* @brief Clean-up thread-local variable before destructing a worker's context. * * This must be called by the same worker (thread) which called ``lf
include/libfork/core/ext/tls.hpp:136
↓ 7 callersMethodrelease
* @brief Release the underlying storage of the current stack and re-initialize this one. * * A new stack can be constructed from the stacklet to
single_header/libfork.hpp:1913
↓ 7 callersMethodrelease
* @brief Release the underlying storage of the current stack and re-initialize this one. * * A new stack can be constructed from the stacklet to
include/libfork/core/impl/stack.hpp:268
↓ 7 callersFunctionresume_on
include/libfork/core/scheduler.hpp:68
↓ 7 callersMethodschedule
single_header/libfork.hpp:4796
↓ 7 callersMethodtry_pop_all
* @brief Fetch a linked-list of the submitted tasks. * * If there are no submitted tasks, then returned pointer will be null. */
single_header/libfork.hpp:7414
↓ 7 callersMethodtry_pop_all
* @brief Pop all the nodes from the list and return a pointer to the root (`nullptr` if empty). * * Only the owner (thread) of the list can call
include/libfork/core/ext/list.hpp:102
↓ 7 callersFunctionworker_init
* @brief Initialize thread-local variables for a worker. * * Returns a handle to the library-managed context for the worker, this context is associa
include/libfork/core/ext/tls.hpp:98
↓ 6 callersMethodconstruct
single_header/libfork.hpp:1571
↓ 6 callersMethodconstruct
include/libfork/core/impl/manual_lifetime.hpp:42
↓ 6 callersMethodempty
* @brief Test if the stack is empty (has no allocations). */
include/libfork/core/impl/stack.hpp:258
↓ 6 callersMethodhas_exception
* @brief Test is there is an exception stored in the eventually. */
single_header/libfork.hpp:3630
↓ 6 callersFunctionintegral_fn
bench/source/integrate/config.hpp:18
↓ 6 callersFunctioniter_matmul
bench/source/matmul/config.hpp:60
↓ 6 callersMethodload_joins
* @brief Perform a `.load(order)` on the atomic join counter. */
single_header/libfork.hpp:2159
↓ 6 callersFunctionmultiply
bench/source/matmul/config.hpp:109
↓ 6 callersFunctionreset_uts
bench/source/uts/config.hpp:21
↓ 6 callersMethodset_parent
* @brief Set the pointer to the parent frame. */
single_header/libfork.hpp:2110
↓ 6 callersFunctionsfib
bench/source/fib/config.hpp:10
↓ 6 callersFunctionstack
* @brief Checked access to a workers stack. */
include/libfork/core/ext/tls.hpp:66
↓ 6 callersFunctionunreachable
* @brief A homebrew version of `std::unreachable`, see https://en.cppreference.com/w/cpp/utility/unreachable */
single_header/libfork.hpp:267
↓ 6 callersFunctionunreachable
* @brief A homebrew version of `std::unreachable`, see https://en.cppreference.com/w/cpp/utility/unreachable */
include/libfork/core/macro.hpp:136
↓ 5 callersFunctioncheck
test/source/algorithm/for_each.cpp:43
↓ 5 callersFunctioncheck
test/source/algorithm/map.cpp:43
↓ 5 callersMethodcontexts
* @brief Get a view of the worker's contexts. */
single_header/libfork.hpp:8269
↓ 5 callersMethodget_return
* @brief Get a reference to the return pointer. */
single_header/libfork.hpp:5902
↓ 5 callersMethodget_return
* @brief Get a reference to the return pointer. */
include/libfork/core/impl/return.hpp:44
↓ 5 callersFunctionmatmul_init
bench/source/matmul/config.hpp:84
↓ 5 callersMethodparent
* @brief Get a pointer to the parent frame. * * Only valid if this is not a root frame. */
single_header/libfork.hpp:2131
↓ 5 callersFunctionqueens_ok
* Check if queens positions conflict with each other. */
bench/source/nqueens/config.hpp:9
↓ 5 callersMethodreset
* @brief Reset the join and steal counters, must be outside a fork-join region. */
single_header/libfork.hpp:2183
↓ 5 callersFunctionsha1_hash
bench/source/uts/external/rng/brg_sha1.c:264
↓ 4 callersMethodatomic_has_exception
* @brief Test if the exception flag is set. * * Safe to call concurrently. */
single_header/libfork.hpp:2218
↓ 4 callersMethodcapacity
* @brief Capacity of the current stacklet's stack. */
include/libfork/core/impl/stack.hpp:97
↓ 4 callersMethodcapture_exception
* @brief Capture the exception currently being thrown. * * Safe to call concurrently, first exception is saved. */
single_header/libfork.hpp:2199
↓ 4 callersFunctiondoubler
test/source/algorithm/fold.cpp:48
↓ 4 callersFunctionfactorial
test/source/catch.cpp:33
↓ 4 callersMethodfetch_add_steal
* @brief Increase the steal counter by one and return the previous value. */
single_header/libfork.hpp:2178
↓ 4 callersMethodfetch_sub_joins
* @brief Perform a `.fetch_sub(val, order)` on the atomic join counter. */
single_header/libfork.hpp:2166
↓ 4 callersFunctionfib
test/source/core/core.cpp:105
↓ 4 callersMethodfinalize_worker
single_header/libfork.hpp:7281
↓ 4 callersFunctionfind
test/source/core/unbalanced.cpp:99
↓ 4 callersMethodget_underlying
* @brief Fetch the `lf::context` a thread has associated with this object. */
single_header/libfork.hpp:7402
↓ 4 callersFunctionmap
include/libfork/core/impl/utility.hpp:222
↓ 4 callersMethodnotify_all
single_header/libfork.hpp:7867
↓ 4 callersFunctionschedule
include/libfork/core/sync_wait.hpp:249
↓ 4 callersMethodschedule
* @brief schedule suspended tasks to the context, supports concurrent submission. * * This will trigger the notification function. */
include/libfork/core/ext/context.hpp:70
next →1–100 of 705, ranked by callers