Home
last modified time | relevance | path

Searched refs:topo (Results 1 – 25 of 27) sorted by relevance

12

/third_party/boost/libs/mpi/test/
Dcartesian_topology_test.cpp34 std::string topology_description( mpi::cartesian_topology const& topo ) { in topology_description() argument
36 std::copy(topo.begin(), topo.end(), std::ostream_iterator<mpi::cartesian_dimension>(out, " ")); in topology_description()
88 mpi::cartesian_topology topo(cc.ndims()); in test_shifted_coords() local
89 cc.topology(topo, coords); in test_shifted_coords()
92 std::cout << "Testing shifts with topology " << topo << '\n'; in test_shifted_coords()
96 std::cout << " for dimension " << i << ": " << topo[i] << '\n'; in test_shifted_coords()
98 test_shifted_coords( cc, coords[i], topo[i], i ); in test_shifted_coords()
147 void test_cartesian_topology( mpi::communicator const& world, mpi::cartesian_topology const& topo) in test_cartesian_topology() argument
149 mpi::cartesian_communicator cc(world, topo, true); in test_cartesian_topology()
152 BOOST_CHECK(cc.ndims() == int(topo.size())); in test_cartesian_topology()
[all …]
/third_party/boost/libs/fiber/src/numa/solaris/
Dtopology.cpp22 void explore( std::vector< boost::fibers::numa::node > & topo, lgrp_cookie_t cookie, lgrp_id_t node… in explore() argument
37 topo.push_back( n); in explore()
44 explore( topo, cookie, node); in explore()
56 std::vector< node > topo; in topology() local
64 explore( topo, cookie, root); in topology()
67 std::size_t size = topo.size(); in topology()
68 for ( auto & n : topo) { in topology()
73 return topo; in topology()
/third_party/boost/libs/fiber/src/numa/aix/
Dtopology.cpp23 void explore( int sdl, std::vector< boost::fibers::numa::node > & topo) { in explore() argument
47 topo.push_back( n); in explore()
61 std::vector< node > topo; in topology() local
65 explore( i, topo); in topology()
70 std::size_t size = topo.size(); in topology()
71 for ( auto & n : topo) { in topology()
76 return topo; in topology()
/third_party/boost/libs/fiber/src/numa/algo/
Dwork_stealing.cpp30 …_t > get_local_cpus( std::uint32_t node_id, std::vector< boost::fibers::numa::node > const& topo) { in get_local_cpus() argument
31 for ( auto & node : topo) { in get_local_cpus()
40 …t > get_remote_cpus( std::uint32_t node_id, std::vector< boost::fibers::numa::node > const& topo) { in get_remote_cpus() argument
42 for ( auto & node : topo) { in get_remote_cpus()
53 work_stealing::init_( std::vector< boost::fibers::numa::node > const& topo, in init_() argument
56 for ( auto & node : topo) { in init_()
69 std::vector< boost::fibers::numa::node > const& topo, in work_stealing()
72 local_cpus_{ get_local_cpus( node_id, topo) },
73 remote_cpus_{ get_remote_cpus( node_id, topo) },
79 for ( auto & node : topo) {
[all …]
/third_party/boost/libs/fiber/performance/fiber/numa/
Dskynet_stealing_detach.cpp43 std::uint32_t hardware_concurrency( std::vector< boost::fibers::numa::node > const& topo) { in hardware_concurrency() argument
45 for ( auto & node : topo) { in hardware_concurrency()
72 …td::uint32_t cpu_id, std::uint32_t node_id, std::vector< boost::fibers::numa::node > const& topo) { in thread() argument
73 …bers::use_scheduling_algorithm< boost::fibers::numa::algo::work_stealing >( cpu_id, node_id, topo); in thread()
81 std::vector< boost::fibers::numa::node > topo = boost::fibers::numa::topology(); in main() local
82 auto node = topo[0]; in main()
90 for ( auto && node : topo) { in main()
94 threads.emplace_back( thread, cpu_id, node.id, std::cref( topo) ); in main()
98 …:use_scheduling_algorithm< boost::fibers::numa::algo::work_stealing >( main_cpu_id, node.id, topo); in main()
/third_party/boost/libs/fiber/src/numa/freebsd/
Dtopology.cpp27 std::vector< node > topo; in topology() local
42 topo.push_back( n); in topology()
44 std::size_t size = topo.size(); in topology()
45 for ( auto & n : topo) { in topology()
50 return topo; in topology()
/third_party/boost/libs/fiber/src/numa/hpux/
Dtopology.cpp29 std::vector< node > topo; in topology() local
47 topo.push_back( entry.second); in topology()
51 std::size_t size = topo.size(); in topology()
52 for ( auto & n : topo) { in topology()
57 return topo; in topology()
/third_party/boost/libs/mpi/src/
Dcartesian_communicator.cpp30 operator<<(std::ostream& out, cartesian_topology const& topo) { in operator <<() argument
32 int const sz = topo.size(); in operator <<()
34 out << topo[i]; in operator <<()
126 cartesian_communicator::topology( cartesian_topology& topo, in topology() argument
129 topo.resize(ndims); in topology()
136 topo.swap(res); in topology()
141 cartesian_topology topo(ndims()); in topology() local
143 topology(topo, coords); in topology()
144 return topo; in topology()
/third_party/boost/libs/fiber/src/numa/windows/
Dtopology.cpp108 std::vector< node > topo; in topology() local
117 topo.push_back( n); in topology()
120 std::size_t size = topo.size(); in topology()
121 for ( auto & n : topo) { in topology()
126 return topo; in topology()
/third_party/boost/libs/fiber/src/numa/linux/
Dtopology.cpp145 std::vector< node > topo; in topology() local
153 return topo; in topology()
191 topo.push_back( entry.second); in topology()
195 topo.push_back( entry.second); in topology()
198 return topo; in topology()
/third_party/boost/libs/graph/example/
DJamfile.v2150 run topo-sort1.cpp ;
151 run topo-sort2.cpp ;
152 run topo-sort-file-dep.cpp : $(TEST_DIR)/makefile-dependencies.dat $(TEST_DIR)/makefile-target-name…
153 run topo-sort-file-dep2.cpp : $(TEST_DIR)/makefile-dependencies.dat $(TEST_DIR)/makefile-target-nam…
173 run topo-sort-with-leda.cpp ;
176 explicit topo-sort-with-leda ;
185 run topo-sort-with-sgb.cpp ;
186 explicit topo-sort-with-sgb ;
Dfr_layout.cpp146 topology_type topo(gen, -width / 2, -height / 2, width / 2, height / 2); in main() local
147 random_graph_layout(g, position, topo); in main()
149 g, position, topo, cooling(progress_cooling(iterations))); in main()
Dregression.cfg102 compile libs/graph/example/topo-sort-file-dep.cpp
103 compile libs/graph/example/topo-sort-file-dep2.cpp
104 compile libs/graph/example/topo-sort1.cpp
105 compile libs/graph/example/topo-sort2.cpp
Dleda-regression.cfg10 compile libs/graph/example/topo-sort-with-leda.cpp
Dsgb-regression.cfg10 compile libs/graph/example/topo-sort-with-sgb.cpp
/third_party/boost/libs/fiber/examples/numa/
Dtopology.cpp18 std::vector< boost::fibers::numa::node > topo = boost::fibers::numa::topology(); in main() local
19 for ( auto n : topo) { in main()
/third_party/boost/libs/fiber/doc/
Dnuma.qbk93 std::vector< boost::fibers::numa::node > topo = boost::fibers::numa::topology();
94 for ( auto n : topo) {
124 …td::uint32_t cpu_id, std::uint32_t node_id, std::vector< boost::fibers::numa::node > const& topo) {
126 …bers::use_scheduling_algorithm< boost::fibers::numa::algo::work_stealing >( cpu_id, node_id, topo);
131 std::vector< boost::fibers::numa::node > topo = boost::fibers::numa::topology();
133 auto node = topo[0];
138 for ( auto & node : topo) {
143 threads.emplace_back( thread, cpu_id, node.id, std::cref( topo) );
148 …use_scheduling_algorithm< boost::fibers::numa::algo::work_stealing >( start_cpu_id, node.id, topo);
318 std::vector< boost::fibers::numa::node > const& topo,
[all …]
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dpa.h192 PRIMITIVE_TOPOLOGY topo = TOP_UNKNOWN);
473 PRIMITIVE_TOPOLOGY topo, in PA_STATE_CUT()
480 binTopology = topo; in PA_STATE_CUT()
500 vertsPerPrim = NumVertsPerPrim(topo, gsEnabled); in PA_STATE_CUT()
502 switch (topo) in PA_STATE_CUT()
1611 topo(in_topo) in PA_FACTORY()
1616 (topo == TOP_TRIANGLE_STRIP || topo == TOP_POINT_LIST || topo == TOP_LINE_LIST || in PA_FACTORY()
1617 topo == TOP_LINE_STRIP || topo == TOP_TRIANGLE_LIST)) || in PA_FACTORY()
1621 (topo == TOP_LINE_LIST_ADJ || topo == TOP_LISTSTRIP_ADJ || topo == TOP_TRI_LIST_ADJ || in PA_FACTORY()
1622 topo == TOP_TRI_STRIP_ADJ)) in PA_FACTORY()
[all …]
Dpa_avx.cpp2762 PRIMITIVE_TOPOLOGY topo) : in PA_STATE_OPT() argument
2769 this->binTopology = topo == TOP_UNKNOWN ? state.topology : topo; in PA_STATE_OPT()
Dbinner.cpp82 const PRIMITIVE_TOPOLOGY topo = pa.binTopology; in ProcessAttributes() local
115 switch (topo) in ProcessAttributes()
/third_party/mesa3d/src/intel/vulkan/
DgenX_gpu_memcpy.c224 anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_VF_TOPOLOGY), topo) { in genX()
225 topo.PrimitiveTopologyType = _3DPRIM_POINTLIST; in genX()
/third_party/mesa3d/src/intel/blorp/
Dblorp_genX_exec.h595 blorp_emit(batch, GENX(3DSTATE_VF_TOPOLOGY), topo) { in blorp_emit_vertex_elements()
596 topo.PrimitiveTopologyType = _3DPRIM_RECTLIST; in blorp_emit_vertex_elements()
/third_party/boost/libs/graph/doc/
Dtransitive_closure.w486 numbers, so we map back to vertices using the \code{topo\_order}
753 % LocalWords: traversal ith namespace topo inserter gx hy struct pos inf max
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_state.c6347 iris_emit_cmd(batch, GENX(3DSTATE_VF_TOPOLOGY), topo) { in iris_upload_dirty_render_state()
6348 topo.PrimitiveTopologyType = in iris_upload_dirty_render_state()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_state.c7545 crocus_emit_cmd(batch, GENX(3DSTATE_VF_TOPOLOGY), topo) {
7546 topo.PrimitiveTopologyType =

12