| 56 | // cuComplex/cuDoubleComplex. No type conversion for non-complex types. |
| 57 | template <typename T> |
| 58 | inline const typename CUDAComplexT<T>::type* CUDAComplex(const T* p) { |
| 59 | return reinterpret_cast<const typename CUDAComplexT<T>::type*>(p); |
| 60 | } |
| 61 | template <typename T> |
| 62 | inline typename CUDAComplexT<T>::type* CUDAComplex(T* p) { |
| 63 | return reinterpret_cast<typename CUDAComplexT<T>::type*>(p); |