MCPcopy Create free account
hub / github.com/cactus-compute/cactus / ParallelConfig

Method ParallelConfig

cactus/kernel/kernel_utils.h:419–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417 size_t work_per_thread;
418
419 constexpr ParallelConfig(size_t gate, size_t per_thread)
420 : min_work_gate(gate), work_per_thread(per_thread) {}
421 };
422
423 inline size_t get_optimal_thread_count(size_t total_work, ParallelConfig config) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected