-
Notifications
You must be signed in to change notification settings - Fork 82
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
Split group_scan and group_reduce tests by data types #815
Split group_scan and group_reduce tests by data types #815
Conversation
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.
Almost there!
I think, this deserves a separate PR. Multiple tests use |
I'm trying out this branch locally and I'm seeing that the files that are now generated from @jiezzhang have you verified that all the tests are built and ran? Maybe I'm misconfiguring anything? |
Co-authored-by: Marcos Maronas <[email protected]>
Thank you! Fixed |
This reverts commit 7eef73d.
|
Thanks for clarification. I would refactor the code to make it clearer. We should not add optional types unconditionally to the list of standard types in the first place. They should be added only after option value check. Adding with follow-up removing is confusing. |
Sure. I have moved |
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 have experimented locally with this PR and works perfectly. The improvement in compile time and runtime is very significant.
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.
Great! 🚀
@keryell, all comments have been resolved. Could you take a look, please? |
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.
Thanks!
To reduce overhead on template instantiation, this commit split group_reduce and group_scan tests by data type.
Besides, this commit remove 'fp16' and 'fp64' from 'get_std_type' if corresponding cmake options are set.