MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / enqueue

Method enqueue

ngscuda/concurrentqueue.h:995–999  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

993 // or Traits::MAX_SUBQUEUE_SIZE has been defined and would be surpassed).
994 // Thread-safe.
995 __host__ __device__ inline bool enqueue(T const& item)
996 {
997 MOODYCAMEL_CONSTEXPR_IF (INITIAL_IMPLICIT_PRODUCER_HASH_SIZE == 0) return false;
998 else return inner_enqueue<CanAlloc>(item);
999 }
1000
1001 // Enqueues a single item (by moving it, if possible).
1002 // Allocates memory if required. Only fails if memory allocation fails (or implicit

Callers 3

RunParallelDependencyFunction · 0.45
RunParallelDependencyFunction · 0.45
RunParallelFunction · 0.45

Calls 1

MOODYCAMEL_CONSTEXPR_IFFunction · 0.85

Tested by

no test coverage detected