Point Cloud Library (PCL)  1.14.1-dev
device.hpp
1 #ifndef PCL_GPU_TRACKING_DEVICE_HPP_
2 #define PCL_GPU_TRACKING_DEVICE_HPP_
3 
4 #include "internal.h"
5 
6 namespace pcl
7 {
8  namespace device
9  {
10  __device__ __forceinline__ float
11  getSampleNormal (const float mean, const float cov, curandState* rng_state)
12  {
13  float rn = curand_normal(rng_state);
14  return (rn*cov + mean);
15  }
16  }
17 }
18 
19 #endif // PCL_GPU_TRACKING_DEVICE_HPP_
__device__ __forceinline__ float getSampleNormal(const float mean, const float cov, curandState *rng_state)
Definition: device.hpp:11