Point Cloud Library (PCL)  1.8.1
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>
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 }
static __device__ T Invoke(const T *ptr)
Definition: cache.hpp:13