Skip to content

Commit

Permalink
Fix a wrong method def in a kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruochun committed Dec 23, 2023
1 parent 37dda75 commit 9ce5304
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/kernel/DEMIntegrationKernels.cu
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ inline __device__ void integrateVel(deme::bodyID_t thisClump,
// }

inline __device__ void integratePos(deme::bodyID_t thisClump,
deme::DEMSimParams* simParams,
deme::DEMDataDT* granData,
float3 v,
float3 omgBar,
Expand Down Expand Up @@ -230,6 +231,6 @@ __global__ void integrateOwners(deme::DEMSimParams* simParams, deme::DEMDataDT*
// Depending on the integration scheme in use, they can be different.
float3 v, omgBar;
integrateVel(thisClump, simParams, granData, v, omgBar, simParams->h, simParams->timeElapsed);
integratePos(thisClump, granData, v, omgBar, simParams->h, simParams->timeElapsed);
integratePos(thisClump, simParams, granData, v, omgBar, simParams->h, simParams->timeElapsed);
}
}

0 comments on commit 9ce5304

Please sign in to comment.