Home
last modified time | relevance | path

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

/oneTBB/examples/graph/som/
H A Dsom.hpp77 std::vector<double> w; member in SOM_element
82 SOM_element() : w(nElements, 0.0) {} in SOM_element()
84 return w.at(indx); in operator []()
87 return w.at(indx); in operator []()
91 if (w[i] != other.w[i]) { in operator ==()
101 for (std::size_t i = 0; i < w.size(); ++i) in elementwise_max()
102 if (w[i] < other.w[i]) in elementwise_max()
103 w[i] = other.w[i]; in elementwise_max()
107 if (w[i] > other.w[i]) in elementwise_min()
108 w[i] = other.w[i]; in elementwise_min()
[all …]
H A Dsom.cpp38 for (int i = 0; i < (int)s.w.size(); ++i) { in operator <<()
39 out << s.w[i]; in operator <<()
40 if (i < (int)s.w.size() - 1) { in operator <<()
50 for (int i = 0; i < (int)s.w.size(); ++i) { in remark_SOM_element()
51 printf("%g", s.w[i]); in remark_SOM_element()
52 if (i < (int)s.w.size() - 1) { in remark_SOM_element()
/oneTBB/python/tbb/
H A D__init__.py88 w = self.Process(target=tbb_process_pool_worker27,
93 self._pool.append(w)
94 w.name = w.name.replace('Process', 'PoolWorker')
95 w.daemon = True
96 w.start()
130 w = self.Process(target=tbb_process_pool_worker3,
136 self._pool.append(w)
137 w.name = w.name.replace('Process', 'PoolWorker')
138 w.daemon = True
139 w.start()
/oneTBB/test/tbb/
H A Dtest_flow_graph.cpp57 for ( int w = 0; w < W; ++w ) done_flag[w] = false; in test_wait_count() local
58 for ( int w = 0; w < j; ++w ) h.reserve_wait(); in test_wait_count() local
62 for ( int w = 0; w < W; ++w ) { in test_wait_count() local
63 if ( w < j ) CHECK_MESSAGE( done_flag[w] == true, "" ); in test_wait_count()
64 else CHECK_MESSAGE( done_flag[w] == false, "" ); in test_wait_count()
H A Dtest_priority_queue_node.cpp122 T v=bogus_value, w=bogus_value; in test_reservation() local
141 CHECK_MESSAGE( q.try_reserve(w) == false, "" ); in test_reservation()
142 CHECK_MESSAGE( w == bogus_value, "" ); in test_reservation()
143 CHECK_MESSAGE( q.try_get(w) == false, "" ); in test_reservation()
144 CHECK_MESSAGE( w == bogus_value, "" ); in test_reservation()
H A Dtest_async_node.cpp684 work_type w; in __anon62ab872d0a02() local
685 while( my_q.try_pop(w) ) { in __anon62ab872d0a02()
686 int res = do_work(w.input); in __anon62ab872d0a02()
687 w.gateway->try_put(res); in __anon62ab872d0a02()
688 w.gateway->release_wait(); in __anon62ab872d0a02()
695 work_type w = {i, gateway}; in submit() local
697 my_q.push(w); in submit()
H A Dtest_task_arena.cpp256 Runner(wait_context& w) : myWait(w) {} in Runner()
265 Waiter(wait_context& w) : myWait(w) {} in Waiter()
940 …b::enumerable_thread_specific<bool>& exe, std::atomic<int>& c, wait_context& w, tbb::task_arena& a) in TestEnqueueTask() argument
941 : executed(exe), completed(c), waiter(w), arena(a) {} in TestEnqueueTask()
1122 for (auto& w : waiters) w = new tbb::detail::d1::wait_context(0); in TestMultipleWaits() local
1142 for (auto w : waiters) delete w; in TestMultipleWaits() local
H A Dtest_eh_algorithms.cpp578 RecursiveParReduceBodyWithSharedWorker ( Worker *w, int outer ) in RecursiveParReduceBodyWithSharedWorker() argument
579 : m_SharedWorker(w) in RecursiveParReduceBodyWithSharedWorker()
611 Worker w; in TestCancelation3() local
612 int result = w.DoWork (0); in TestCancelation3()
613 int expected = w.Validate(0); in TestCancelation3()
/oneTBB/python/rml/
H A Dipc_server.cpp954 ipc_worker **w = wakee; in wake_some() local
972 (*w++ = my_asleep_list_root.load(std::memory_order_relaxed))->my_next, in wake_some()
983 while( w>wakee ) { in wake_some()
984 if( !(*--w)->wake_or_launch() ) { in wake_some()
987 } while( !try_insert_in_asleep_list_forced(**w) ); in wake_some()
1000 ipc_worker **w = wakee; in wake_one_forced() local
1003 while( my_asleep_list_root.load(std::memory_order_relaxed) && w<wakee+1 ) { in wake_one_forced()
1018 (*w++ = my_asleep_list_root.load(std::memory_order_relaxed))->my_next, in wake_one_forced()
1027 while( w>wakee ) { in wake_one_forced()
1028 if( !(*--w)->wake_or_launch() ) { in wake_one_forced()
[all …]
/oneTBB/src/tbb/
H A Dprivate_server.cpp376 private_worker**w = wakee; in wake_some() local
397 while( root && w<wakee+2 && allotted_slack) { in wake_some()
400 *w++ = root; in wake_some()
409 while( w>wakee ) { in wake_some()
410 private_worker* ww = *--w; in wake_some()
/oneTBB/doc/main/tbb_userguide/
H A Dstd_invoke.rst7 …tion Object (see `C++ Standard Function Object <https://en.cppreference.com/w/cpp/utility/function…
10 … of being Callable (see `C++ Standard Callable <https://en.cppreference.com/w/cpp/named_req/Callab…
120 .. tip:: Refer to `C++ Standard <https://en.cppreference.com/w/cpp/utility/functional/invoke>`_ to …
/oneTBB/
H A DBUILD.bazel38 copts = ["-w"] + select({
H A Dthird-party-programs.txt343 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
346 …The hypothetical commands `show w' and `show c' should show the appropriate parts of the General P…
/oneTBB/examples/task_arena/fractal/
H A DREADME.md39 * `w` - move the active fractal up.
/oneTBB/test/conformance/
H A Dconformance_concurrent_hash_map.cpp286 test_table_type w; in TestRehash() local
287 w.insert( std::make_pair(MyKey::make(-5), MyData()) ); in TestRehash()
288 w.rehash(); // without this, assertion will fail in TestRehash()
289 test_table_type::iterator it = w.begin(); in TestRehash()
291 for( ; it != w.end(); i++ ) in TestRehash()
292 w.count( (it++)->first ); in TestRehash()
/oneTBB/test/common/
H A Ddoctest.h124 #define DOCTEST_CLANG_SUPPRESS_WARNING(w) DOCTEST_PRAGMA_TO_STR(clang diagnostic ignored w) argument
130 #define DOCTEST_CLANG_SUPPRESS_WARNING(w) argument
132 #define DOCTEST_CLANG_SUPPRESS_WARNING_WITH_PUSH(w) argument
138 #define DOCTEST_GCC_SUPPRESS_WARNING(w) DOCTEST_PRAGMA_TO_STR(GCC diagnostic ignored w) argument
141 DOCTEST_GCC_SUPPRESS_WARNING_PUSH DOCTEST_GCC_SUPPRESS_WARNING(w)
144 #define DOCTEST_GCC_SUPPRESS_WARNING(w) argument
146 #define DOCTEST_GCC_SUPPRESS_WARNING_WITH_PUSH(w) argument
151 #define DOCTEST_MSVC_SUPPRESS_WARNING(w) __pragma(warning(disable : w)) argument
154 DOCTEST_MSVC_SUPPRESS_WARNING_PUSH DOCTEST_MSVC_SUPPRESS_WARNING(w)
157 #define DOCTEST_MSVC_SUPPRESS_WARNING(w) argument
[all …]
/oneTBB/src/tbbmalloc/
H A Dfrontend.cpp770 extern "C" unsigned char _BitScanReverse( unsigned long* i, unsigned long w );
/oneTBB/doc/
H A DDoxyfile.in1151 # doxygen -w html new_header.html new_footer.html new_stylesheet.css