Uh oh!
There was an error while loading. Please reload this page.
[feature](function) round function defaults to rounding normally - #31583
Conversation
doris-robot
commented
Feb 29, 2024
Thank you for your contribution to Apache Doris. |
Mryange
commented
Feb 29, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Feb 29, 2024
TPC-H: Total hot run time: 37772 ms |
doris-robot
commented
Feb 29, 2024
TeamCity be ut coverage result: |
doris-robot
commented
Feb 29, 2024
TPC-DS: Total hot run time: 168982 ms |
doris-robot
commented
Feb 29, 2024
ClickBench: Total hot run time: 32.32 s |
doris-robot
commented
Feb 29, 2024
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
8d6bb44 to
69f6ea3CompareMryange
commented
Feb 29, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Feb 29, 2024
TPC-H: Total hot run time: 37930 ms |
doris-robot
commented
Feb 29, 2024
TPC-DS: Total hot run time: 168825 ms |
doris-robot
commented
Feb 29, 2024
ClickBench: Total hot run time: 31.78 s |
doris-robot
commented
Feb 29, 2024
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
doris-robot
commented
Feb 29, 2024
TeamCity be ut coverage result: |
Mryange
commented
Feb 29, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Feb 29, 2024
TeamCity be ut coverage result: |
doris-robot
commented
Feb 29, 2024
TPC-H: Total hot run time: 37611 ms |
| static VectorType prepare(size_t scale) { return load1(scale); } | ||
| }; | ||
| // for float number use round up or bankers |
There was a problem hiding this comment.
should use the simd version to do the work
| template <RoundingMode mode> | ||
| static VectorType apply(VectorType val) { | ||
| if constexpr (tie_breaking_mode == TieBreakingMode::Bankers) { | ||
| return nearbyintf(val); |
There was a problem hiding this comment.
ScalarType* val;
val1 val2
VectorType res;
ScalaType* res_t;
Mryange
commented
Mar 2, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
| static VectorType apply(VectorType val) { | ||
| return _mm_round_pd(val, int(mode)); | ||
| if constexpr (mode != RoundingMode::Round) { | ||
| return _mm_round_pd(val, int(mode)); |
There was a problem hiding this comment.
we could use a marco to check the SSE4.1 enable state. and use the most proper simd instructions with _mm or _mm256. u can see the similar usage in our code.
Uh oh!
There was an error while loading. Please reload this page.
doris-robot
commented
Mar 2, 2024
TeamCity be ut coverage result: |
Mryange
commented
Mar 3, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Mar 3, 2024
TeamCity be ut coverage result: |
Mryange
commented
Mar 3, 2024
run buildall |
doris-robot
commented
Mar 4, 2024
TeamCity be ut coverage result: |
Mryange
commented
Mar 4, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Mar 4, 2024
TeamCity be ut coverage result: |
Mryange
commented
Mar 4, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Mar 4, 2024
TeamCity be ut coverage result: |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
Proposed changes
Behavior change
before
now
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...