Hi Daniel – Why is the latency 3-4 cycles if one conversion takes one cycle? What is latency here? You’re using 1 cycle/conversion in your throughput estimates, so is the latency a one-time thing?
I did not write that the conversion took one cycle, I wrote that one number could be converted per cycle. Our processors are superscalar: they can execute many instructions at once.
Hello.
Can you explain why you are creating a random number generator and don’t use it. But filling the array with increasing values?
It is dead code that I used at first but that I am no longer using. You don’t need the random generator because the conversion is not data dependent.
Hi Daniel – Why is the latency 3-4 cycles if one conversion takes one cycle? What is latency here? You’re using 1 cycle/conversion in your throughput estimates, so is the latency a one-time thing?
I did not write that the conversion took one cycle, I wrote that one number could be converted per cycle. Our processors are superscalar: they can execute many instructions at once.
In fact, the M1 processor in my Apple laptop can sustain 8 instructions per cycle.