43 #ifndef OPENCV_CUDA_DYNAMIC_SMEM_HPP
44 #define OPENCV_CUDA_DYNAMIC_SMEM_HPP
52 namespace cv {
namespace cuda {
namespace device
54 template<
class T>
struct DynamicSharedMem
56 __device__ __forceinline__
operator T*()
58 extern __shared__
int __smem[];
62 __device__ __forceinline__
operator const T*()
const
64 extern __shared__
int __smem[];
70 template<>
struct DynamicSharedMem<double>
72 __device__ __forceinline__
operator double*()
74 extern __shared__
double __smem_d[];
75 return (
double*)__smem_d;
78 __device__ __forceinline__
operator const double*()
const
80 extern __shared__
double __smem_d[];
81 return (
double*)__smem_d;
InputArrayOfArrays InputArrayOfArrays InputOutputArray InputOutputArray InputOutputArray InputOutputArray Size InputOutputArray InputOutputArray T
Definition: calib3d.hpp:1867
"black box" representation of the file storage associated with a file on disk.
Definition: calib3d.hpp:441