MCPcopy Create free account
hub / github.com/a2flo/floor / run_exec

Function run_exec

compute/host/host_kernel.cpp:889–899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

887
888//! starts the actual fiber context execution (needed here for CC purposes)
889extern "C" void run_exec(floor_fiber_context& main_ctx, floor_fiber_context& first_item) FLOOR_HOST_COMPUTE_CC_MAYBE_NOINLINE {
890 static thread_local volatile bool done;
891 done = false;
892 main_ctx.get_context();
893 if (!done) {
894 done = true;
895
896 // start first fiber
897 first_item.set_context();
898 }
899}
900
901void host_kernel::execute_host(const kernel_func_wrapper& func,
902 const uint32_t& cpu_count,

Callers 2

execute_hostMethod · 0.85
execute_deviceMethod · 0.85

Calls 2

get_contextMethod · 0.80
set_contextMethod · 0.80

Tested by

no test coverage detected