tChanged type of linarr. Linarr still needs memcpy - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
 (HTM) git clone git://src.adamsgaard.dk/sphere
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 5a74cfa8ba1c751e92ba190c00fe0d4a3d5acc56
 (DIR) parent daca0c28bac8c0b8d23b2c69e4e3fa1c13485cc3
 (HTM) Author: Anders Damsgaard Christensen <adc@geo.au.dk>
       Date:   Fri,  9 Nov 2012 22:03:53 +0100
       
       Changed type of linarr. Linarr still needs memcpy
       
       Diffstat:
         M src/raytracer.cuh                   |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/raytracer.cuh b/src/raytracer.cuh
       t@@ -413,7 +413,7 @@ __host__ void DEM::render(
              make_float4(eye.x, eye.y, eye.z, 0.0f), width, height);
          cudaThreadSynchronize();
        
       -  float* linarr;     // Linear array to use for color visualization
       +  Float* linarr;     // Linear array to use for color visualization
          std::string desc;  // Description of parameter visualized
          std::string unit;  // Unit of parameter values visualized
          unsigned int i;
       t@@ -502,6 +502,7 @@ __host__ void DEM::render(
        
          // Free dynamically allocated global device memory
          rt_freeGlobalDeviceMemory();
       +  delete[] linarr;
        
          //cudaPrintfDisplay(stdout, true);