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

target: Update LRU config mechanism #53

Merged
merged 1 commit into from
Oct 5, 2023
Merged

target: Update LRU config mechanism #53

merged 1 commit into from
Oct 5, 2023

Conversation

colluca
Copy link
Collaborator

@colluca colluca commented Sep 29, 2023

This PR changes the LRU config file mechanism in the following way.

The LRU config file becomes a symlink, pointing to the cfg/default.hjson config file by default. Upon an override request (using the CFG_OVERRIDE flag) the symlink is updated to point to the requested config file. This is in contrast to the previous implementation, where the LRU config file was a regular file, and the contents of the default or overridden config files were copied into it.

This change allows the following behaviour. If the config file which the LRU config points to changes, any Make target depending on the LRU config will be updated. So you don't have to update the LRU config file contents, but can directly update the original config file (which is now the target of the symlink).

@colluca colluca marked this pull request as ready for review September 29, 2023 15:32
@colluca colluca requested a review from paulsc96 as a code owner September 29, 2023 15:32
@colluca colluca merged commit f7c25da into main Oct 5, 2023
25 checks passed
@colluca colluca deleted the update/lru-cfg branch October 5, 2023 08:14
JosseVanDelm added a commit to JosseVanDelm/snitch_cluster that referenced this pull request Dec 11, 2023
* sw: add test and golden model for subtraction

* lint: formatting datagen.py

* Apply suggestions from code review

Co-authored-by: Josse Van Delm <[email protected]>

* sw: format snax-gemm-lib.c

---------

Co-authored-by: Josse Van Delm <[email protected]>
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