 
       int W = depth.cols();
       int H = depth.rows();
-      
+
       cudaChannelFormatDesc channeldesc = cudaCreateChannelDesc<unsigned short>();
 
       depthTex.addressMode[0] = cudaAddressModeClamp;
       cudaSafeCall( cudaBindTexture2D(0, depthTex, depth.ptr(), channeldesc, W, H, depth.step()) );
-        
 
       dim3 block(16, 16);
       dim3 grid( divUp(W, block.x), divUp(H, block.y) );
-      
+
       KernelCUDA_runTree<<< grid, block >>>( W, H, focal, treeHeight, numNodes, 
                                                        (const Node*)  nodes_device, 
                                                        (const Label*) leaves_device, 

 *
 */



#include <pcl/gpu/people/tree.h>
#include <pcl/gpu/utils/safe_call.hpp>
#include <pcl/gpu/utils/timers_cuda.hpp>
#include <stdio.h>
#include <assert.h>
#include "internal.h"



using pcl::gpu::people::trees::Node;
using pcl::gpu::people::trees::Label;


      cudaSafeCall( cudaGetLastError() );
      cudaSafeCall( cudaThreadSynchronize() );
      cudaSafeCall( cudaUnbindTexture(depthTex) );
    }

    void CUDA_runTree_masked( const float  focal,
                              const int    treeHeight,
