local copy of row in solver
This commit is contained in:
@@ -47,7 +47,9 @@ struct Solver {
|
|||||||
}
|
}
|
||||||
|
|
||||||
__device__
|
__device__
|
||||||
void operator()(Row &row) {
|
void operator()(Row &drow) {
|
||||||
|
Row row = drow;
|
||||||
|
|
||||||
if (row.r - row.l <= 0) {
|
if (row.r - row.l <= 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -67,6 +69,8 @@ struct Solver {
|
|||||||
row.r--;
|
row.r--;
|
||||||
row.to = next;
|
row.to = next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
drow = row;
|
||||||
|
|
||||||
if (row.r - row.l <= 0) {
|
if (row.r - row.l <= 0) {
|
||||||
int gen = c_rels[row.rel].gens[row.l & 1];
|
int gen = c_rels[row.rel].gens[row.l & 1];
|
||||||
|
|||||||
Reference in New Issue
Block a user