Point Cloud Library (PCL)
1.10.0
tracking
src
cuda
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_
pcl
This file defines compatibility wrappers for low level I/O functions.
Definition:
convolution.h:45
pcl::device::getSampleNormal
__device__ __forceinline__ float getSampleNormal(const float mean, const float cov, curandState *rng_state)
Definition:
device.hpp:11