You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can use __builtin_ipu_get_scount_u, together with __builtin_ipu_get_scount_l, to get the full 64-bit cycle counter. The challenge is that when calling both builtins in a row (ideally first the upper and the lower) may overflow the lower and flip the upper, so we need to manually deal with the case where the lower counter is less than 12 (or 6?).
The text was updated successfully, but these errors were encountered:
We can use
__builtin_ipu_get_scount_u
, together with__builtin_ipu_get_scount_l
, to get the full 64-bit cycle counter. The challenge is that when calling both builtins in a row (ideally first the upper and the lower) may overflow the lower and flip the upper, so we need to manually deal with the case where the lower counter is less than 12 (or 6?).The text was updated successfully, but these errors were encountered: