17 auto const this_zero =
static_cast<uint32_t
>(this_score == 0U);
18 auto const lt =
static_cast<uint32_t
>(this_score < other_score);
19 auto const gt =
static_cast<uint32_t
>(this_score > other_score);
20 auto const eq = 1U - lt - gt;
21 target.both_empty += eq & this_zero;
24 target.equal += eq & (1U - this_zero);
__device__ void classify(pairwise_counts &target, uint32_t this_score, uint32_t other_score) noexcept
Classifies one score relative to this into target.