Point Cloud Library (PCL)
1.9.1
gpu
utils
include
pcl
gpu
utils
device
cache.hpp
1
2
3
4
//will contain a lot of load/store utils
5
6
namespace
pcl
7
{
8
namespace
device
9
{
10
template
<
class
T>
11
struct
NonCachedLoad
12
{
13
__device__
static
T
Invoke
(
const
T* ptr)
14
{
15
16
#if (__CUDA_ARCH__ < 200)
17
return
*ptr;
18
#else
19
//asm code insertion
20
asm
(...);
21
#endif
22
}
23
};
24
25
}
26
27
}
pcl
This file defines compatibility wrappers for low level I/O functions.
Definition:
convolution.h:45
pcl::device::NonCachedLoad::Invoke
static __device__ T Invoke(const T *ptr)
Definition:
cache.hpp:13
pcl::device::NonCachedLoad
Definition:
cache.hpp:11