cache.hpp
//will contain a lot of load/store utils
namespace pcl
{
namespace device
{
template<class T>
struct NonCachedLoad
{
__device__ static T Invoke(const T* ptr)
{
#if (__CUDA_ARCH__ < 200)
return *ptr;
#else
//asm code insertion
asm(...);
#endif
}
};
}
}
pcl::device::NonCachedLoad::Invoke
static __device__ T Invoke(const T *ptr)
Definition: cache.hpp:13
pcl
Definition: convolution.h:45
pcl::device::NonCachedLoad
Definition: cache.hpp:11