-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
expression: implement vectorized evaluation for 'builtinRandWithSeedSig' #12644
Conversation
Codecov Report
@@ Coverage Diff @@
## master #12644 +/- ##
===========================================
Coverage 80.3931% 80.3931%
===========================================
Files 469 469
Lines 112542 112542
===========================================
Hits 90476 90476
Misses 15088 15088
Partials 6978 6978 |
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.
Please do a benchmark for it and post the result in the description.
For correct testing, let's discuss in this PR.
ok |
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.
Please consider write a separated test.
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.
Two randers with the same seed will generate the same number, so how about using this feature to add a correct test?
I had Modified the implementation of both non-vec and vec. I don't know whether it's right. PTAL @SunRunAway @qw4990 |
@tsthght, please update your pull request. |
/rebuild |
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.
LGTM
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.
LGTM
/run-all-tests |
@tsthght merge failed. |
/run-integration-common-test |
/run-unit-test |
1 similar comment
/run-unit-test |
What problem does this PR solve?
expression: implement vectorized evaluation for 'builtinRandWithSeedSig', for #12105
What is changed and how it works?
Check List
Returns random numbers, so cannot write test cases