Computing the Euclidean distances between corresponding rows of matrices with CUDA

Calculating the Euclidean distances between homologous rows of two matrices is an easy task if CUDA Thrust is employed.

Indeed, this computation is an application of thrust::reduce_by_key.

On our GitHub website a full worked example is reported.

Leave a Reply

Your email address will not be published. Required fields are marked *