tadded syncthreads - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
HTML git clone git://src.adamsgaard.dk/sphere
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit cc9086eebc938cdde78e2305bb286180bd0a5ef5
DIR parent d3de1fea51e48156510b03c78bec3b8a6f56626c
HTML Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Mon, 31 Mar 2014 12:37:32 +0200
added syncthreads
Diffstat:
M src/integration.cuh | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/src/integration.cuh b/src/integration.cuh
t@@ -357,6 +357,7 @@ __global__ void integrateWalls(
#endif
// Store data in global memory
+ __syncthreads();
dev_walls_nx[idx] = w_nx;
dev_walls_mvfd[idx] = w_mvfd;
dev_walls_acc[idx] = acc;