Skip to content

Simplify tensor priority#97

Open
sjoks93 wants to merge 2 commits intoKULeuven-MICAS:masterfrom
sjoks93:simplify-tensor-priority
Open

Simplify tensor priority#97
sjoks93 wants to merge 2 commits intoKULeuven-MICAS:masterfrom
sjoks93:simplify-tensor-priority

Conversation

@sjoks93
Copy link

@sjoks93 sjoks93 commented Feb 16, 2026

I see no reason for assigning tensor priorities per top memory instance. In my opinion, this adds layers of unnecessary complexity and OOP referencing spaghetti. To me, a tensor's priority should be a global variable that depends on how many times the tensor has been used or will be used by any node mapped to any core.

This change simplifies the tensor priority API from a [top instance: int] dictionary to a simple int.

@sjoks93
Copy link
Author

sjoks93 commented Feb 16, 2026

second commit: renamed variables to be more consistent with new method (removed instance keyword)

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

Successfully merging this pull request may close these issues.

2 participants