Home
last modified time | relevance | path

Searched refs:epoch (Results 1 – 7 of 7) sorted by relevance

/oneTBB/examples/graph/som/
H A Dsom_graph.cpp388 for (int epoch = 0; epoch < nPasses; ++epoch) { in graph_teach() local
389 global_i = epoch; in graph_teach()
392 next_j = (epoch + 1) % in.size(); in graph_teach()
394 if (epoch < speculation_start) { in graph_teach()
395 (send_to[epoch % SPECULATION_CNT])->try_put(in[j]); in graph_teach()
397 else if (epoch == speculation_start) { in graph_teach()
398 (send_to[epoch % SPECULATION_CNT])->try_put(in[j]); in graph_teach()
399 if (epoch < nPasses - 1) { in graph_teach()
403 else if (epoch < nPasses - 1) { in graph_teach()
410 if (epoch >= speculation_start && epoch < (nPasses - 1)) { in graph_teach()
[all …]
H A Dsom.hpp158 int epoch, in epoch_update() argument
170 epoch_update_range(s, epoch, min_x, min_y, radius, learning_rate, br1); in epoch_update()
173 int epoch,
H A Dsom.cpp147 int epoch, in epoch_update_range() argument
/oneTBB/test/common/
H A Diterator.h44 …REQUIRE_MESSAGE(it.my_current_epoch == it.my_shared_epoch->epoch, "Copying an invalidated iterator… in InputIterator()
52 …REQUIRE_MESSAGE(it.my_current_epoch == it.my_shared_epoch->epoch, "Assigning an invalidated iterat…
64 …REQUIRE_MESSAGE(my_shared_epoch->epoch == my_current_epoch, "Dereferencing an invalidated input it…
69 …REQUIRE_MESSAGE(my_shared_epoch->epoch == my_current_epoch, "Incrementing an invalidated input ite…
72 ++my_shared_epoch->epoch;
83 …REQUIRE_MESSAGE(my_shared_epoch->epoch == my_current_epoch, "Comparing an invalidated input iterat…
84 …REQUIRE_MESSAGE(it.my_shared_epoch->epoch == it.my_current_epoch, "Comparing with an invalidated i…
99 Epoch() { epoch = 0; refcounter = 1; } in Epoch()
100 Counter epoch; member
H A Dspin_barrier.h135 size_type epoch = myEpoch.load(std::memory_order_relaxed); in customWait() local
140 onWaitCallback(myEpoch, epoch); // acquire myEpoch in customWait()
151 epoch -= myEpoch.fetch_add(1, std::memory_order_release); in customWait()
152 ASSERT(epoch == 0,"Broken barrier"); in customWait()
/oneTBB/src/tbb/
H A Dthread_data.h56 std::atomic<std::uintptr_t> epoch{};
251 …my_context_list->epoch.store(the_context_state_propagation_epoch.load(std::memory_order_relaxed), … in propagate_task_group_state()
H A Dtask_group_context.cpp141 …uintptr_t local_count_snapshot = ctx.my_parent->my_context_list->epoch.load(std::memory_order_acqu… in bind_to_impl()