tadded syncthreads - sphere - GPU-based 3D discrete element method algorithm wi… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit cc9086eebc938cdde78e2305bb286180bd0a5ef5 | |
parent d3de1fea51e48156510b03c78bec3b8a6f56626c | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 31 Mar 2014 12:37:32 +0200 | |
added syncthreads | |
Diffstat: | |
M src/integration.cuh | 1 + | |
1 file changed, 1 insertion(+), 0 deletions(-) | |
--- | |
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; |