Home
last modified time | relevance | path

Searched refs:total_demand (Results 1 – 25 of 35) sorted by relevance

12

/dports/devel/onetbb/oneTBB-2021.4.0/src/tbb/
H A Dmarket.h171 int total_demand = my_total_demand.load(std::memory_order_relaxed); in update_allotment() local
172 if (total_demand) { in update_allotment()
173 update_allotment(my_arenas, total_demand, (int)effective_soft_limit); in update_allotment()
200 int update_allotment ( arena_list_type* arenas, int total_demand, int max_workers );
H A Dmarket.cpp557 int total_demand = my_total_demand.load(std::memory_order_relaxed) + delta; in adjust_demand() local
558 my_total_demand.store(total_demand, std::memory_order_relaxed); in adjust_demand()
575 if (my_num_workers_requested + delta < total_demand) in adjust_demand()
576 delta = min(total_demand, (int)effective_soft_limit) - my_num_workers_requested; in adjust_demand()
/dports/lang/clover/mesa-21.3.6/src/amd/compiler/
H A Daco_scheduler.cpp66 RegisterDemand total_demand; member
85 RegisterDemand total_demand; member
169 assert(total_demand == reference_demand); in verify_invariants()
237 RegisterDemand register_pressure = cursor.total_demand; in downwards_move()
265 cursor.total_demand -= candidate_diff; in downwards_move()
267 assert(cursor.total_demand == RegisterDemand{}); in downwards_move()
295 cursor.total_demand.update(register_demand[cursor.source_idx]); in downwards_skip()
314 assert(total_demand == reference_demand); in verify_invariants()
349 cursor.total_demand = register_demand[cursor.insert_idx]; in upwards_update_insert_idx()
389 cursor.total_demand += candidate_diff; in upwards_move()
[all …]
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/amd/compiler/
H A Daco_scheduler.cpp66 RegisterDemand total_demand; member
85 RegisterDemand total_demand; member
169 assert(total_demand == reference_demand); in verify_invariants()
237 RegisterDemand register_pressure = cursor.total_demand; in downwards_move()
265 cursor.total_demand -= candidate_diff; in downwards_move()
267 assert(cursor.total_demand == RegisterDemand{}); in downwards_move()
295 cursor.total_demand.update(register_demand[cursor.source_idx]); in downwards_skip()
314 assert(total_demand == reference_demand); in verify_invariants()
349 cursor.total_demand = register_demand[cursor.insert_idx]; in upwards_update_insert_idx()
389 cursor.total_demand += candidate_diff; in upwards_move()
[all …]
/dports/graphics/libosmesa/mesa-21.3.6/src/amd/compiler/
H A Daco_scheduler.cpp66 RegisterDemand total_demand; member
85 RegisterDemand total_demand; member
169 assert(total_demand == reference_demand); in verify_invariants()
237 RegisterDemand register_pressure = cursor.total_demand; in downwards_move()
265 cursor.total_demand -= candidate_diff; in downwards_move()
267 assert(cursor.total_demand == RegisterDemand{}); in downwards_move()
295 cursor.total_demand.update(register_demand[cursor.source_idx]); in downwards_skip()
314 assert(total_demand == reference_demand); in verify_invariants()
349 cursor.total_demand = register_demand[cursor.insert_idx]; in upwards_update_insert_idx()
389 cursor.total_demand += candidate_diff; in upwards_move()
[all …]
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/amd/compiler/
H A Daco_scheduler.cpp66 RegisterDemand total_demand; member
85 RegisterDemand total_demand; member
169 assert(total_demand == reference_demand); in verify_invariants()
237 RegisterDemand register_pressure = cursor.total_demand; in downwards_move()
265 cursor.total_demand -= candidate_diff; in downwards_move()
267 assert(cursor.total_demand == RegisterDemand{}); in downwards_move()
295 cursor.total_demand.update(register_demand[cursor.source_idx]); in downwards_skip()
314 assert(total_demand == reference_demand); in verify_invariants()
349 cursor.total_demand = register_demand[cursor.insert_idx]; in upwards_update_insert_idx()
389 cursor.total_demand += candidate_diff; in upwards_move()
[all …]
/dports/graphics/mesa-libs/mesa-21.3.6/src/amd/compiler/
H A Daco_scheduler.cpp66 RegisterDemand total_demand; member
85 RegisterDemand total_demand; member
169 assert(total_demand == reference_demand); in verify_invariants()
237 RegisterDemand register_pressure = cursor.total_demand; in downwards_move()
265 cursor.total_demand -= candidate_diff; in downwards_move()
267 assert(cursor.total_demand == RegisterDemand{}); in downwards_move()
295 cursor.total_demand.update(register_demand[cursor.source_idx]); in downwards_skip()
314 assert(total_demand == reference_demand); in verify_invariants()
349 cursor.total_demand = register_demand[cursor.insert_idx]; in upwards_update_insert_idx()
389 cursor.total_demand += candidate_diff; in upwards_move()
[all …]
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/amd/compiler/
H A Daco_scheduler.cpp66 RegisterDemand total_demand; member
85 RegisterDemand total_demand; member
169 assert(total_demand == reference_demand); in verify_invariants()
237 RegisterDemand register_pressure = cursor.total_demand; in downwards_move()
265 cursor.total_demand -= candidate_diff; in downwards_move()
267 assert(cursor.total_demand == RegisterDemand{}); in downwards_move()
295 cursor.total_demand.update(register_demand[cursor.source_idx]); in downwards_skip()
314 assert(total_demand == reference_demand); in verify_invariants()
349 cursor.total_demand = register_demand[cursor.insert_idx]; in upwards_update_insert_idx()
389 cursor.total_demand += candidate_diff; in upwards_move()
[all …]
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/amd/compiler/
H A Daco_scheduler.cpp66 RegisterDemand total_demand; member
85 RegisterDemand total_demand; member
169 assert(total_demand == reference_demand); in verify_invariants()
237 RegisterDemand register_pressure = cursor.total_demand; in downwards_move()
265 cursor.total_demand -= candidate_diff; in downwards_move()
267 assert(cursor.total_demand == RegisterDemand{}); in downwards_move()
295 cursor.total_demand.update(register_demand[cursor.source_idx]); in downwards_skip()
314 assert(total_demand == reference_demand); in verify_invariants()
349 cursor.total_demand = register_demand[cursor.insert_idx]; in upwards_update_insert_idx()
389 cursor.total_demand += candidate_diff; in upwards_move()
[all …]
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/amd/compiler/
H A Daco_scheduler.cpp66 RegisterDemand total_demand; member
85 RegisterDemand total_demand; member
169 assert(total_demand == reference_demand); in verify_invariants()
237 RegisterDemand register_pressure = cursor.total_demand; in downwards_move()
265 cursor.total_demand -= candidate_diff; in downwards_move()
267 assert(cursor.total_demand == RegisterDemand{}); in downwards_move()
295 cursor.total_demand.update(register_demand[cursor.source_idx]); in downwards_skip()
314 assert(total_demand == reference_demand); in verify_invariants()
349 cursor.total_demand = register_demand[cursor.insert_idx]; in upwards_update_insert_idx()
389 cursor.total_demand += candidate_diff; in upwards_move()
[all …]
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/amd/compiler/
H A Daco_scheduler.cpp66 RegisterDemand total_demand; member
85 RegisterDemand total_demand; member
169 assert(total_demand == reference_demand); in verify_invariants()
237 RegisterDemand register_pressure = cursor.total_demand; in downwards_move()
265 cursor.total_demand -= candidate_diff; in downwards_move()
267 assert(cursor.total_demand == RegisterDemand{}); in downwards_move()
295 cursor.total_demand.update(register_demand[cursor.source_idx]); in downwards_skip()
314 assert(total_demand == reference_demand); in verify_invariants()
349 cursor.total_demand = register_demand[cursor.insert_idx]; in upwards_update_insert_idx()
389 cursor.total_demand += candidate_diff; in upwards_move()
[all …]
/dports/graphics/mesa-dri/mesa-21.3.6/src/amd/compiler/
H A Daco_scheduler.cpp66 RegisterDemand total_demand; member
85 RegisterDemand total_demand; member
169 assert(total_demand == reference_demand); in verify_invariants()
237 RegisterDemand register_pressure = cursor.total_demand; in downwards_move()
265 cursor.total_demand -= candidate_diff; in downwards_move()
267 assert(cursor.total_demand == RegisterDemand{}); in downwards_move()
295 cursor.total_demand.update(register_demand[cursor.source_idx]); in downwards_skip()
314 assert(total_demand == reference_demand); in verify_invariants()
349 cursor.total_demand = register_demand[cursor.insert_idx]; in upwards_update_insert_idx()
389 cursor.total_demand += candidate_diff; in upwards_move()
[all …]
/dports/games/widelands/widelands-build21/src/economy/
H A Deconomy.cc801 uint32_t total_demand = 0; in create_requested_worker() local
834 total_demand += current_demand; in create_requested_worker()
838 if (total_demand == 0) { in create_requested_worker()
861 --total_demand; in create_requested_worker()
865 if (total_demand == 0) { in create_requested_worker()
904 if (total_planned > total_demand) { in create_requested_worker()
906 nr_to_plan -= std::min(nr_to_plan, total_planned - total_demand); in create_requested_worker()
907 } else if (total_planned < total_demand) { in create_requested_worker()
911 std::min(min_workers_createable, total_demand - total_planned); in create_requested_worker()
923 if (total_planned == total_demand) { in create_requested_worker()
/dports/math/SCIP/scip-7.0.3/examples/VRP/src/
H A Dmain_vrp.cpp275 int total_demand = 0; in execmain() local
277 total_demand += demand[i]; /*lint !e732 !e747*/ in execmain()
279 if( total_demand == 0.0 ) in execmain()
285 capacity = (num_nodes - 1) * capacity / total_demand; in execmain()
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/amd/compiler/
H A Daco_scheduler.cpp68 RegisterDemand total_demand, total_demand_clause; member
119 total_demand.update(register_demand[source_idx]); in downwards_advance_helper()
130 total_demand = total_demand_clause = register_demand[current_idx]; in downwards_init()
179 RegisterDemand register_pressure = clause ? total_demand_clause : total_demand; in downwards_move()
201 total_demand -= candidate_diff; in downwards_move()
256 total_demand = register_demand[before - 1]; in upwards_set_insert_idx()
278 if (RegisterDemand(total_demand + candidate_diff).exceeds(max_registers)) in upwards_move()
293 total_demand += candidate_diff; in upwards_move()
297 total_demand.update(register_demand[source_idx]); in upwards_move()
315 total_demand.update(register_demand[source_idx]); in upwards_skip()
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Applications/CNRP/src/CutGen/
H A Dshrink.c42 #define SEND_DIR_SUBTOUR_CONSTRAINT(num_nodes, total_demand) \ argument
46 RHS(num_nodes, total_demand, capacity) : \
47 BINS(total_demand, capacity)); \
55 RHS(num_nodes, total_demand, capacity) : \
56 mult*BINS(total_demand, capacity)); \
852 double complement_demand, total_demand = verts[0].demand; in greedy_shrinking1_one() local
924 complement_demand = total_demand - set_demand; in greedy_shrinking1_one()
1022 double complement_demand, total_demand = verts[0].demand; in greedy_shrinking6_one() local
1108 complement_demand = total_demand - set_demand; in greedy_shrinking6_one()
1205 double complement_demand, total_demand = verts[0].demand; in greedy_shrinking2_one() local
[all …]
H A Dcnrp_cg.c149 #define SEND_DIR_SUBTOUR_CONSTRAINT(num_nodes, total_demand) \ argument
154 RHS(num_nodes, total_demand, capacity) : \
155 BINS(total_demand, capacity)); \
159 #define SEND_SUBTOUR_CONSTRAINT(num_nodes, total_demand) \ argument
164 RHS(num_nodes, total_demand, capacity) : \
165 mult*BINS(total_demand, capacity)); \
169 new_cut->rhs = mult*BINS(total_demand, capacity); \
213 double total_demand = demand[0]; local
648 if ((BINS(total_demand - demand[node1] - demand[node2],
654 new_cut->rhs =mult*BINS(total_demand - demand[node1] -
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/info/
H A Dintersection.rs136 let mut total_demand = 0; in current_demand() localVariable
148 total_demand += demand; in current_demand()
165 let percent = (demand as f64) / (total_demand as f64); in current_demand()
181 prettyprint_usize(total_demand) in current_demand()
/dports/math/py-or-tools/or-tools-9.2/examples/cpp/
H A Dnetwork_routing_sat.cc479 int total_demand = 0; in InitDemandInfo() local
485 total_demand += traffic; in InitDemandInfo()
490 return total_demand; in InitDemandInfo()
541 const int total_demand = InitDemandInfo(data); in Init() local
551 LOG(INFO) << " - a total traffic of " << total_demand; in Init()
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/sandbox/dashboards/
H A Dtraffic_signals.rs170 let total_demand = cnt.sum() as f64; in draw_demand() localVariable
174 let percent = (demand as f64) / total_demand; in draw_demand()
/dports/math/py-or-tools/or-tools-9.2/ortools/graph/
H A Dmin_cost_flow.cc331 FlowQuantity total_demand = 0; in CheckFeasibility() local
343 total_demand -= supply; in CheckFeasibility()
346 if (total_supply != total_demand) { in CheckFeasibility()
348 << total_demand << ")."; in CheckFeasibility()
1046 FlowQuantity total_supply = 0, total_demand = 0; in SolveWithPossibleAdjustment() local
1053 total_demand -= node_supply_[node]; in SolveWithPossibleAdjustment()
1056 if (adjustment == DONT_ADJUST && total_supply != total_demand) { in SolveWithPossibleAdjustment()
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Applications/VRP/src/CutGen/
H A Dshrink.c440 double complement_demand, total_demand = verts[0].demand; in greedy_shrinking1_one() local
509 complement_demand = total_demand - set_demand; in greedy_shrinking1_one()
602 double complement_demand, total_demand = verts[0].demand; in greedy_shrinking6_one() local
675 complement_demand = total_demand - set_demand; in greedy_shrinking6_one()
766 double complement_demand, total_demand = verts[0].demand; in greedy_shrinking2_one() local
829 complement_demand = total_demand - set_demand; in greedy_shrinking2_one()
/dports/games/simutrans/simutrans-121.0/
H A Dsimcity.h296 sint32 total_demand; // shifted by DEMAND_BITS member
302 …factory_set_t() : total_demand(0), total_remaining(0), total_generated(0), generation_ratio(0), ra… in factory_set_t()
/dports/math/disco/DisCO-releases-1.0.0-33-g68720be/examples/VRP/
H A DVrpCutGenerator.cpp68 int total_demand = demand[0], num_trials = 0; in generateConstraints() local
234 if ((BINS(total_demand - demand[node1] - demand[node2], in generateConstraints()
239 rhs =2*BINS(total_demand - demand[node1] - in generateConstraints()
749 double complement_demand, total_demand = verts[0].demand; in greedyShrinking1One() local
820 complement_demand = total_demand - set_demand; in greedyShrinking1One()
913 double complement_demand, total_demand = verts[0].demand; in greedyShrinking6One() local
989 complement_demand = total_demand - set_demand; in greedyShrinking6One()
1079 double complement_demand, total_demand = verts[0].demand; in greedyShrinking2One() local
1145 complement_demand = total_demand - set_demand; in greedyShrinking2One()
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/bundled/tbb-2018_U2/src/tbb/
H A Dmarket.h239 static int update_allotment ( arena_list_type& arenas, int total_demand, int max_workers );

12