cheshirekow  v0.1.0
euclidean.cu.hpp File Reference

Go to the source code of this file.

Classes

struct  mpblocks::cudaNN::kernels::NextPow2< Arg >
 
struct  mpblocks::cudaNN::kernels::NextPow2_iter< Arg, i, final >
 
struct  mpblocks::cudaNN::kernels::NextPow2_iter< Arg, i, true >
 

Namespaces

 mpblocks
 
 mpblocks::cudaNN
 
 mpblocks::cudaNN::kernels
 

Macros

#define MPBLOCKS_CUDANN_KERNELS_EUCLIDEANCU_HPP_
 

Functions

template<typename Format_t , unsigned int NDim>
__global__ void mpblocks::cudaNN::kernels::euclidean_distance (QueryPoint< Format_t, NDim > query, Format_t *g_in, unsigned int pitchIn, Format_t *g_out, unsigned int pitchOut, unsigned int n)
 vector norm (2-norm) between two points More...
 
template<bool Pseudo, typename Scalar , unsigned int NDim>
__global__ void mpblocks::cudaNN::kernels::euclidean_distance (RectangleQuery< Scalar, NDim > query, Scalar *g_out)
 
template<typename Scalar , int NDim>
__device__ Scalar mpblocks::cudaNN::kernels::euclidean_distance (const linalg::Matrix< Scalar, NDim, 1 > &q0, const linalg::Matrix< Scalar, NDim, 1 > &q1)
 
template<typename Scalar , int NDim>
__device__ Scalar mpblocks::cudaNN::kernels::euclidean_pseudo_distance (const linalg::Matrix< Scalar, NDim, 1 > &q0, const linalg::Matrix< Scalar, NDim, 1 > &q1)
 

Macro Definition Documentation

#define MPBLOCKS_CUDANN_KERNELS_EUCLIDEANCU_HPP_

Definition at line 28 of file euclidean.cu.hpp.