Searched refs:Q (Results 1 – 7 of 7) sorted by relevance
| /oneTBB/test/tbb/ |
| H A D | test_concurrent_queue_whitebox.cpp | 41 template <typename Q> 46 FloggerBody( Q& queue, std::size_t el_num ) in FloggerBody() 50 using value_type = typename Q::value_type; in operator ()() 60 Q& q; 64 template <typename Q> 65 void test_flogger_help( Q& q, std::size_t items_per_page ) { in test_flogger_help() 81 …utils::NativeParallelFor(static_cast<typename Q::value_type>(utils::MaxThread), FloggerBody<Q>(q, … in test_flogger_help()
|
| H A D | test_async_node.cpp | 66 template <typename Q> 67 place_wrapper(const place_wrapper<Q>& v) in place_wrapper() 71 template <typename Q> 72 place_wrapper<Q>& operator=(const place_wrapper<Q>& v) { in operator =()
|
| /oneTBB/examples/graph/logic_sim/ |
| H A D | test_all.cpp | 700 make_edge(output_port<0>(my_d_latch), Q.get_in()); in main() 711 Q.display(); in main() 714 assert((Q.get_value() == high) && (notQ.get_value() == low)); in main() 723 Q.display(); in main() 726 assert((Q.get_value() == low) && (notQ.get_value() == high)); in main() 735 Q.display(); in main() 738 assert((Q.get_value() == high) && (notQ.get_value() == low)); in main() 747 Q.display(); in main() 750 assert((Q.get_value() == low) && (notQ.get_value() == high)); in main() 759 Q.display(); in main() [all …]
|
| /oneTBB/examples/test_all/fibonacci/ |
| H A D | fibonacci.cpp | 124 oneapi::tbb::concurrent_queue<Matrix2x2> Q; in SerialQueueFib() local 126 Q.push(Matrix1110); in SerialQueueFib() 129 while (!Q.try_pop(A)) in SerialQueueFib() 131 if (Q.empty()) in SerialQueueFib() 133 while (!Q.try_pop(B)) in SerialQueueFib() 135 Q.push(A * B); in SerialQueueFib()
|
| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _flow_graph_types_impl.h | 257 template<class Q, size_t N, class Tuple> 260 static const bool value = std::is_same<Q,T_i>::value || is_element_of<Q,N-1,Tuple>::value; 263 template<class Q, class Tuple> 264 struct is_element_of<Q,0,Tuple> { 266 static const bool value = std::is_same<Q,T_i>::value;
|
| /oneTBB/test/common/ |
| H A D | concurrent_priority_queue_common.h | 48 template <typename Q, typename T> 49 static void push(Q& q, T&& t) { in push() 55 template <typename Q, typename T> 56 void QueuePushHelper<false>::push( Q& q, T&& t ) { in push() 234 template <typename Q, typename E> 235 void push_selector(Q& q, E e, std::size_t i) { in push_selector()
|
| /oneTBB/test/conformance/ |
| H A D | conformance_mutex.h | 261 template<typename Q = M> 262 typename std::enable_if<!Q::is_rw_mutex>::type release() { in release() 267 template<typename Q = M> 268 typename std::enable_if<Q::is_rw_mutex>::type release() { in release()
|