top | item 45406503 (no title) abyesilyurt | 5 months ago Thresholding requires branching no? discuss order hn newest WJW|5 months ago No, you can do that without branching. See https://en.algorithmica.org/hpc/pipelining/branchless/#predi... for example. bqmjjx0kac|5 months ago As demonstrated in the article, you can compute clamp(x, min, max) with straight-line code. Legend2440|5 months ago No, it’s just a math operation and can be applied to any amount of data in parallel.
WJW|5 months ago No, you can do that without branching. See https://en.algorithmica.org/hpc/pipelining/branchless/#predi... for example.
bqmjjx0kac|5 months ago As demonstrated in the article, you can compute clamp(x, min, max) with straight-line code.
Legend2440|5 months ago No, it’s just a math operation and can be applied to any amount of data in parallel.
WJW|5 months ago
bqmjjx0kac|5 months ago
Legend2440|5 months ago