Home
last modified time | relevance | path

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

/oneTBB/examples/graph/som/
H A Dsom_graph.cpp113 #define SPECULATION_CNT 2 macro
118 *q[SPECULATION_CNT]; // queue for function nodes to put their results in
120 search_node_array_type *s_array[SPECULATION_CNT]; // 2d array of function nodes
121 graph_array_type *g_array[SPECULATION_CNT]; // 2d array of graphs
145 for (int scnt = 0; scnt < SPECULATION_CNT; ++scnt) { in build_BMU_graph()
198 for (int scnt = 0; scnt < SPECULATION_CNT; ++scnt) { in destroy_BMU_graph()
395 (send_to[epoch % SPECULATION_CNT])->try_put(in[j]); in graph_teach()
398 (send_to[epoch % SPECULATION_CNT])->try_put(in[j]); in graph_teach()
404 (send_to[(epoch + 1) % SPECULATION_CNT])->try_put(in[next_j]); in graph_teach()
406 min_sr = graph_BMU(epoch % SPECULATION_CNT); //calls wait_for_all() in graph_teach()
[all …]