Fixed kernel; fixed time step chopping;

This commit is contained in:
Jose Eduardo Bueno
2020-09-07 13:58:48 -03:00
parent c41aafcc58
commit c43648076f
5 changed files with 91 additions and 119 deletions

View File

@@ -455,7 +455,7 @@ namespace bda
for (unsigned int j = 0; j < blnr; ++j){
temp += valsC[bb*blnc*blnr + j*blnc + c]*z2[j];
}
atomicAdd(&y[colIdx*blnc + c], temp);
atomicAdd(&y[colIdx*blnc + c], -temp);
}
}
)";