terri_yu

GPU shader analyzer question: how cycle count is got if there's data dependent loop

Discussion created by terri_yu on Nov 2, 2011
Hi expert,
 
I'm using AMD shader analyzer, and it's very helpful. But I don't understand when my shader source contains data dependent loop, how the tool calculates the cycle count (min/max/average).
 
I don't know how the data is got, therefore I'm not sure how accurate the estimation is.
 
Could you explain the algorithm to me?
 
And for more accurate estimation, is it possible to allow us to input the data to decide the loop number for example?
 
Thanks,
Terri

Outcomes