Function sp_dist_cuda

Function Documentation

cudaError_t sp_dist_cuda(const double *d_dp, const double *d_rp, size_t rows, size_t threads, double *d_dists)

Calculate geodetic distance via CUDA. Device pointer to data points, a matrix shaped $rows \times 2$ Device pointer to the focus point, a matrix shaped $1 \times 2$ The number of rows in d_dp Number of GPU threads Output device pointer to distances CUDA error or success.