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

Fix the handling of gibbon runtime args and usage help #228

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

vidsinghal
Copy link
Collaborator

No description provided.

@vidsinghal vidsinghal force-pushed the fix_gibbon_runtime_args branch from 421c97d to b1a5c10 Compare October 8, 2023 17:18
Copy link
Collaborator

@ulysses4ever ulysses4ever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm trying to get myself familiar with the codebase, and as a part of this effort, I'm keeping an eye and plan to review incoming changes. I hope this is not too annoying! Feel free to ignore my comments, 'cause they come from a newcomer!

gibbon-rts/rts-c/gibbon_rts.c Outdated Show resolved Hide resolved
gibbon-rts/rts-c/gibbon_rts.c Outdated Show resolved Hide resolved
gibbon-rts/rts-c/gibbon_rts.c Outdated Show resolved Hide resolved
gibbon-rts/rts-c/gibbon_rts.c Outdated Show resolved Hide resolved
gibbon-rts/rts-c/gibbon_rts.c Outdated Show resolved Hide resolved
@vidsinghal
Copy link
Collaborator Author

I'm trying to get myself familiar with the codebase, and as a part of this effort, I'm keeping an eye and plan to review incoming changes. I hope this is not too annoying! Feel free to ignore my comments, 'cause they come from a newcomer!

sounds good @ulysses4ever
No, I actually prefer reviews. This is a good way to get quality code merged.

@vidsinghal vidsinghal force-pushed the fix_gibbon_runtime_args branch 2 times, most recently from 1f35fd1 to 1025cfd Compare October 9, 2023 13:59
@vidsinghal vidsinghal force-pushed the fix_gibbon_runtime_args branch from 1025cfd to 170713b Compare October 9, 2023 14:01
printf(" --array-input <path> Set the file from which to read the array input.\n");
printf(" --array-input-length <int> Set the size of the array input file.\n");
printf(" --iterate <int> Set the number of timing iterations to perform (default 1).\n");
printf(" --size-param <int> A parameter for size available as a language primitive which allows user to specify the size at runtime (default 1).\n");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't say I understand this line, but maybe I just need to read more...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not 100% sure how to phrase this.
I see that SizeParam in a primitve in the gibbon std-lib. The compiler generates code to create a call to get this variable which is set as a runtime arg.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you have a suggestion to better phrase this?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not at this point, I'm afraid. I'll have to dive deeper... For now, if no one objects, you could probably merge it as is.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good to me. I can add a TODO here to recheck this later.

Copy link
Collaborator

@ulysses4ever ulysses4ever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet, thank you!

@vidsinghal vidsinghal force-pushed the fix_gibbon_runtime_args branch from 170713b to 2fd1098 Compare October 9, 2023 17:22
@vidsinghal vidsinghal merged commit b8facf4 into main Oct 9, 2023
16 checks passed
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