Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require clarification on the usage of last_inst_delay_act #3

Open
TheRainstorm opened this issue Jul 13, 2024 · 0 comments
Open

Require clarification on the usage of last_inst_delay_act #3

TheRainstorm opened this issue Jul 13, 2024 · 0 comments

Comments

@TheRainstorm
Copy link

Hi,

I am currently reading through the code and I am having some trouble understanding the specific usage and logic behind last_inst_delay_act.

Specifically, I am confused about the calculation of last_inst_delay_act_max.

Could you please explain the reasoning behind this?

PPT-GPU/src/kernels.py

Lines 302 to 306 in 0351db7

#TODO: has to be done in a more logical way per TB
last_inst_delay = 0
for block in block_list:
last_inst_delay_act_min = max(last_inst_delay, block.actual_end - pred_out["active_cycles"])
last_inst_delay_act_max = max(last_inst_delay, block.actual_end)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant