We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4642c99 commit 6a6262aCopy full SHA for 6a6262a
atgpu/Lattice.cpp
@@ -235,6 +235,7 @@ void Lattice::generateGPUKernel() {
235
code.append(" }\n");
236
237
// Last ref after the last element
238
+ code.append(" if( pLost ) elem=startElem+nbElementToProcess;\n");
239
code.append(" if( elem==NB_TOTAL_ELEMENT ) {\n");
240
storeParticleCoord(code);
241
0 commit comments