-
Notifications
You must be signed in to change notification settings - Fork 13
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
Conversation
421c97d
to
b1a5c10
Compare
There was a problem hiding this 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!
sounds good @ulysses4ever |
1f35fd1
to
1025cfd
Compare
1025cfd
to
170713b
Compare
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"); |
There was a problem hiding this comment.
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...
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet, thank you!
170713b
to
2fd1098
Compare
No description provided.