Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ConorWilliams/libfork
/ functions
Functions
705 in github.com/ConorWilliams/libfork
⨍
Functions
705
◇
Types & classes
375
↓ 4 callers
Method
set_next
* @brief Set the next stacklet in the chain to 'new_next'. * * This requires that this is the top stacklet. If there is a cached stacklet ah
single_header/libfork.hpp:1773
↓ 4 callers
Method
set_next
* @brief Set the next stacklet in the chain to 'new_next'. * * This requires that this is the top stacklet. If there is a cached stacklet ah
include/libfork/core/impl/stack.hpp:128
↓ 4 callers
Function
sha1_begin
bench/source/uts/external/rng/brg_sha1.c:252
↓ 4 callers
Function
sha1_end
bench/source/uts/external/rng/brg_sha1.c:287
↓ 4 callers
Function
test
test/source/algorithm/for_each.cpp:50
↓ 4 callers
Function
test
test/source/algorithm/map.cpp:50
↓ 4 callers
Function
test
test/source/algorithm/fold.cpp:55
↓ 4 callers
Function
try_self_stealing
* @brief To handle tasks on a WSQ that have been "effectively stolen". * * If explicit scheduling has occurred then there may be tasks on a workers
include/libfork/core/impl/awaitables.hpp:55
↓ 3 callers
Method
await_ready
* @brief Shortcut if children are ready. */
single_header/libfork.hpp:5483
↓ 3 callers
Method
await_resume
* @brief Forward the result. */
single_header/libfork.hpp:5646
↓ 3 callers
Method
await_suspend
* @brief Sym-transfer to child, push parent to queue. */
single_header/libfork.hpp:5297
↓ 3 callers
Method
cancel_wait
single_header/libfork.hpp:7879
↓ 3 callers
Method
cancel_wait
include/libfork/schedule/ext/event_count.hpp:196
↓ 3 callers
Function
count_cores
include/libfork/schedule/ext/numa.hpp:265
↓ 3 callers
Method
deallocate
* @brief Deallocate `count` bytes of memory from the current stack. * * This must be called in FILO order with `allocate`. */
single_header/libfork.hpp:1953
↓ 3 callers
Method
deallocate
* @brief Deallocate `count` bytes of memory from the current stack. * * This must be called in FILO order with `allocate`. */
include/libfork/core/impl/stack.hpp:308
↓ 3 callers
Method
distribute
single_header/libfork.hpp:6938
↓ 3 callers
Method
exception
* @brief Access the stored exception, ``has_exception()`` must be true. */
single_header/libfork.hpp:3687
↓ 3 callers
Method
has_value
* @brief Check if there is a value stored in the eventually. */
single_header/libfork.hpp:3617
↓ 3 callers
Function
impl_abort
bench/source/uts/external/uts.c:474
↓ 3 callers
Function
impl_getName
The name of this implementation
bench/source/uts/external/uts.c:458
↓ 3 callers
Method
notify_all
include/libfork/schedule/ext/event_count.hpp:184
↓ 3 callers
Method
notify_one
single_header/libfork.hpp:7861
↓ 3 callers
Method
notify_one
include/libfork/schedule/ext/event_count.hpp:178
↓ 3 callers
Function
sha1_compile
bench/source/uts/external/rng/brg_sha1.c:192
↓ 3 callers
Method
thief_work_sleep
single_header/libfork.hpp:7990
↓ 3 callers
Method
thief_work_sleep
include/libfork/schedule/lazy_pool.hpp:97
↓ 3 callers
Method
what
* @brief A diagnostic message. */
single_header/libfork.hpp:4665
↓ 3 callers
Function
zero
bench/source/matmul/config.hpp:15
↓ 2 callers
Method
allocate
* @brief Allocate `count` bytes of memory on a stacklet in the bundle. * * The memory will be aligned to a multiple of `__STDCPP_DEFAULT_NEW_ALI
single_header/libfork.hpp:1926
↓ 2 callers
Method
allocate
* @brief Allocate `count` bytes of memory on a stacklet in the bundle. * * The memory will be aligned to a multiple of `__STDCPP_DEFAULT_NEW_ALI
include/libfork/core/impl/stack.hpp:281
↓ 2 callers
Method
await_ready
* @brief Shortcut if children are ready. */
include/libfork/core/impl/awaitables.hpp:425
↓ 2 callers
Method
await_resume
* @brief A noop in release, provides hints to the optimizer. */
include/libfork/core/impl/awaitables.hpp:262
↓ 2 callers
Method
await_suspend
* @brief Sym-transfer to child, push parent to queue. */
include/libfork/core/impl/awaitables.hpp:239
↓ 2 callers
Function
detach
include/libfork/core/sync_wait.hpp:315
↓ 2 callers
Method
distribute
include/libfork/schedule/ext/numa.hpp:446
↓ 2 callers
Method
exception
* @brief Access the stored exception, ``has_exception()`` must be true. */
include/libfork/core/eventually.hpp:301
↓ 2 callers
Function
fib
test/source/core/explicit.cpp:144
↓ 2 callers
Function
fib_tasks
(n)
bench/basic/plot.py:18
↓ 2 callers
Function
final_await_suspend
include/libfork/core/impl/promise.hpp:49
↓ 2 callers
Function
get_numa_index
include/libfork/schedule/ext/numa.hpp:282
↓ 2 callers
Method
has_exception
* @brief Test is there is an exception stored in the eventually. */
include/libfork/core/eventually.hpp:244
↓ 2 callers
Function
ignore
* @brief Tidy up warnings. */
bench/source/util.hpp:30
↓ 2 callers
Function
init
bench/source/matmul/config.hpp:25
↓ 2 callers
Method
init_worker_and_bind
* @brief Initialize the underlying worker context and bind calling thread a hardware core. * * This is separate from construction as the master
single_header/libfork.hpp:7347
↓ 2 callers
Method
init_worker_and_bind
* @brief Initialize the underlying worker context and bind calling thread a hardware core. * * This is separate from construction as the master
include/libfork/schedule/impl/numa_context.hpp:107
↓ 2 callers
Method
long_jump
* @brief This is the long-jump function for the generator. * * It is equivalent to 2^192 calls to operator(); it can be used to generate 2^64 st
single_header/libfork.hpp:7199
↓ 2 callers
Method
long_jump
* @brief This is the long-jump function for the generator. * * It is equivalent to 2^192 calls to operator(); it can be used to generate 2^64 st
include/libfork/schedule/ext/random.hpp:164
↓ 2 callers
Function
make_vec
bench/source/scan/config.hpp:25
↓ 2 callers
Function
num_threads
bench/source/util.hpp:8
↓ 2 callers
Method
pop
include/libfork/core/ext/deque.hpp:409
↓ 2 callers
Method
promise
single_header/libfork.hpp:6221
↓ 2 callers
Method
promise
include/libfork/core/impl/promise.hpp:280
↓ 2 callers
Function
randomPartition
test/source/schedule/event_count.cpp:36
↓ 2 callers
Function
random_vec
test/source/algorithm/scan.cpp:35
↓ 2 callers
Method
reset_stacklet
* @brief Set the stacklet object to point at a new stacklet. * * Returns the previous stacklet. */
single_header/libfork.hpp:2122
↓ 2 callers
Method
resize
* @brief Copies elements in range ``[bottom, top)`` into a new ring buffer. * * This function allocates a new buffer and returns a pointer to it
single_header/libfork.hpp:930
↓ 2 callers
Method
resize
* @brief Copies elements in range ``[bottom, top)`` into a new ring buffer. * * This function allocates a new buffer and returns a pointer to it
include/libfork/core/ext/deque.hpp:114
↓ 2 callers
Function
rethrow
* @brief Cold path in `unsafe_rethrow_if_exception` in its own non-inline function. */
include/libfork/core/impl/frame.hpp:93
↓ 2 callers
Function
rng_rand
bench/source/uts/external/rng/brg_sha1.c:80
↓ 2 callers
Function
rng_toProb
Interpret 32 bit positive integer as value on [0,1)
bench/source/uts/external/uts.c:115
↓ 2 callers
Function
self
* @brief Get the coroutine handle for this frames coroutine. */
include/libfork/core/impl/frame.hpp:171
↓ 2 callers
Method
semaphore
* @brief Get a pointer to the semaphore for this root frame. * * Only valid if this is not a root frame. */
single_header/libfork.hpp:2138
↓ 2 callers
Method
set_root_sem
* @brief Set a root tasks parent. */
single_header/libfork.hpp:2115
↓ 2 callers
Method
size
include/libfork/core/ext/deque.hpp:358
↓ 2 callers
Function
stat
(x)
bench/plot_uts.py:20
↓ 2 callers
Function
stat
(x)
bench/plot_all.py:20
↓ 2 callers
Function
stat
(x)
bench/plot.py:20
↓ 2 callers
Function
stat
(x)
bench/basic/plot.py:26
↓ 2 callers
Function
thread_fence_seq_cst
* This is a workaround for clang generating bad codegen for ``std::atomic_thread_fence``. * * See: https://github.com/llvm/llvm-project/issues/91731
single_header/libfork.hpp:529
↓ 2 callers
Function
thread_fence_seq_cst
* This is a workaround for clang generating bad codegen for ``std::atomic_thread_fence``. * * See: https://github.com/llvm/llvm-project/issues/91731
include/libfork/core/impl/atomics.hpp:58
↓ 2 callers
Method
try_steal
* @brief Try to steal a task from one of our friends, returns `nullptr` if we failed. */
single_header/libfork.hpp:7419
↓ 2 callers
Method
try_steal
* @brief Attempt a steal operation from this contexts task deque, supports concurrent stealing. */
include/libfork/core/ext/context.hpp:90
↓ 2 callers
Method
unsafe_has_exception
* @brief Check if this contains an exception. * * This can __only__ be called when the caller has exclusive ownership over this object. */
single_header/libfork.hpp:2252
↓ 2 callers
Function
uts_error
fatal error */
bench/source/uts/external/uts.c:98
↓ 2 callers
Function
uts_numChildren_bin
bench/source/uts/external/uts.c:132
↓ 2 callers
Function
uts_numChildren_geo
bench/source/uts/external/uts.c:140
↓ 2 callers
Method
wait
include/libfork/schedule/ext/event_count.hpp:205
↓ 1 callers
Method
await
single_header/libfork.hpp:7902
↓ 1 callers
Method
await_ready
* @brief Don't suspend if on correct context. */
include/libfork/core/scheduler.hpp:88
↓ 1 callers
Method
await_resume
* @brief A no-op. */
include/libfork/core/scheduler.hpp:101
↓ 1 callers
Method
await_suspend
* @brief Reschedule this coroutine onto the requested destination. */
include/libfork/core/scheduler.hpp:93
↓ 1 callers
Method
bind
single_header/libfork.hpp:6735
↓ 1 callers
Method
bind
include/libfork/schedule/ext/numa.hpp:243
↓ 1 callers
Method
capacity
include/libfork/core/ext/deque.hpp:370
↓ 1 callers
Function
contains
tools/make_single_header.cpp:28
↓ 1 callers
Method
detach
* @brief Detach the shared state from this future. * * Following this operation the destructor is guaranteed to not block. */
include/libfork/core/sync_wait.hpp:189
↓ 1 callers
Method
down
test/source/schedule/event_count.cpp:50
↓ 1 callers
Method
empty
* @brief Check if the eventually is empty. */
include/libfork/core/eventually.hpp:216
↓ 1 callers
Function
example
test/source/core/deque.cpp:22
↓ 1 callers
Function
fib
test/source/core/extern_test.cpp:33
↓ 1 callers
Function
fib
test/source/core/just.cpp:37
↓ 1 callers
Function
fib
bench/source/fib/tbb.cpp:12
↓ 1 callers
Function
fib
bench/source/fib/taskflow.cpp:12
↓ 1 callers
Function
fib
bench/source/fib/serial.cpp:10
↓ 1 callers
Function
fib
bench/source/fib/omp.cpp:11
↓ 1 callers
Function
fib
bench/source/fib/tmc.cpp:12
↓ 1 callers
Function
fibonacci
bench/source/fib/ccpp.cpp:12
↓ 1 callers
Method
frame
single_header/libfork.hpp:2098
↓ 1 callers
Method
frame
* @brief Access the frame of the child task. */
include/libfork/core/just.hpp:77
← previous
next →
101–200 of 705, ranked by callers