去掉sat模式
This commit is contained in:
parent
1dd35e5204
commit
6380611be3
@ -260,19 +260,19 @@ void light::seperate_groups() {
|
|||||||
int worker_procs = num_procs - 1;
|
int worker_procs = num_procs - 1;
|
||||||
|
|
||||||
if(worker_procs >= 8) {
|
if(worker_procs >= 8) {
|
||||||
int sat_procs = worker_procs / 8;
|
int sat_procs = 0;
|
||||||
int unsat_procs = sat_procs;
|
int unsat_procs = 2;
|
||||||
int default_procs = worker_procs - sat_procs - unsat_procs;
|
int default_procs = worker_procs - sat_procs - unsat_procs;
|
||||||
// [1, sat_procs] for sat
|
|
||||||
if(rank >= 1 && rank <= sat_procs) {
|
|
||||||
worker_type = light::SAT;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::vector<int> tmp;
|
std::vector<int> tmp;
|
||||||
for(int i=1; i<=sat_procs; i++) {
|
// [1, sat_procs] for sat
|
||||||
tmp.push_back(i);
|
// if(rank >= 1 && rank <= sat_procs) {
|
||||||
}
|
// worker_type = light::SAT;
|
||||||
sharing_groups.push_back(tmp);
|
// }
|
||||||
|
// for(int i=1; i<=sat_procs; i++) {
|
||||||
|
// tmp.push_back(i);
|
||||||
|
// }
|
||||||
|
// sharing_groups.push_back(tmp);
|
||||||
|
|
||||||
// [sat_procs+1, sat_procs+unsat_procs] for unsat
|
// [sat_procs+1, sat_procs+unsat_procs] for unsat
|
||||||
if(rank >= sat_procs+1 && rank <= sat_procs+unsat_procs) {
|
if(rank >= sat_procs+1 && rank <= sat_procs+unsat_procs) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user