Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
saagarjha
· 10mo ago · 0 comments
Isn’t k-means memory bandwidth bound? What was the arithmetic intensity of the final code?
Comments
[–]
shihab
10mo ago
No. Assuming `k` is small enough, which in practice often is, the arithmetic intensity of this kernel is 25-90 Flops/Byte, way above the roofline knee of any modern CPU.
[–]
NohatCoder
10mo ago
I assume that the image would at least fit in L3.