Searched refs:bestDistance2 (Results 1 – 2 of 2) sorted by relevance
61 __device__ void findBestMatch(float& bestDistance1, float& bestDistance2, in findBestMatch() argument76 d2 = shfl_down(bestDistance2, i, BLOCK_SIZE); in findBestMatch()82 if (d1 < bestDistance2) in findBestMatch()84 bestDistance2 = d1; in findBestMatch()90 bestDistance2 = bestDistance1; in findBestMatch()96 if (d2 < bestDistance2) in findBestMatch()98 bestDistance2 = d2; in findBestMatch()142 s_distance[threadIdx.x] = bestDistance2; in findBestMatch()163 bestDistance2 = myBestDistance2; in findBestMatch()171 __device__ void findBestMatch(float& bestDistance1, float& bestDistance2, in findBestMatch() argument[all …]
502 float bestDistance2 = MAX_FLOAT;514 bestDistance2 = bestDistance1;520 else if (val < bestDistance2)522 bestDistance2 = val;541 if (val < bestDistance2)543 bestDistance2 = val;550 myBestDistance2 = bestDistance2;