*: use SimSIMD for vectors#9372
*: use SimSIMD for vectors#9372ti-chi-bot[bot] merged 9 commits intopingcap:feature/vector-indexfrom
Conversation
Signed-off-by: Wish <breezewish@outlook.com>
Signed-off-by: Wish <breezewish@outlook.com> Co-authored-by: JaySon <tshent@qq.com>
|
In order to resolve the compile error on gtests_libdaemon below, you need to pick these changes: https://github.com/tidbcloud/tiflash-cse/pull/262 @Lloyd-Pottiger |
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
6aacc40 to
302553c
Compare
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
| simsimd_capability_t cap_l2 = simsimd_details::actual_capability(simsimd_datatype_f32_k, simsimd_metric_l2sq_k); | ||
| simsimd_capability_t cap_cos = simsimd_details::actual_capability(simsimd_datatype_f32_k, simsimd_metric_cos_k); | ||
|
|
||
| auto cap_to_string = [](simsimd_capability_t cap) -> std::string { |
There was a problem hiding this comment.
Could there be cap == simsimd_cap_sve_k & simsimd_cap_sve2_k?
There was a problem hiding this comment.
There was a problem hiding this comment.
Then just use == rather than &?
If it could be possible in further versions, then move sve2 in the front of sve? Because sve2 is extension of sve, we should return the "newest"
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
libs/libdaemon/src/BaseDaemon.cpp
Outdated
|
|
||
| std::string line; | ||
| while (std::getline(ss, line, '\n')) | ||
| LOG_INFO(log, "{}", line); |
There was a problem hiding this comment.
print multiple logs
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CalvinNeo, JaySon-Huang The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
|
/retest |
What problem does this PR solve?
Issue Number: ref #9032
Problem Summary:
What is changed and how it works?
Pick https://github.com/tidbcloud/tiflash-cse/pull/221, https://github.com/tidbcloud/tiflash-cse/pull/224, https://github.com/tidbcloud/tiflash-cse/pull/262 and https://github.com/tidbcloud/tiflash-cse/pull/245
Check List
Tests
Side effects
Documentation
Release note