Introduction
Introduction Statistics Contact Development Disclaimer Help
tthe idx function should be inline - sphere - GPU-based 3D discrete element met…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 26dbfd475b621012eab67ab905d05c65b5ac143e
parent a25a982fa935925a8d6d952894be275b46fdcd53
Author: Anders Damsgaard <[email protected]>
Date: Tue, 22 Oct 2013 10:10:46 +0200
tthe idx function should be inline
Diffstat:
M src/darcy.cuh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/darcy.cuh b/src/darcy.cuh
t@@ -112,7 +112,7 @@ void DEM::transferDarcyFromGlobalDeviceMemory(int statusms…
}
// Get linear index from 3D grid position
-__device__ unsigned int idx(
+__inline__ __device__ unsigned int idx(
const int x, const int y, const int z)
{
// without ghost nodes
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.