-
Notifications
You must be signed in to change notification settings - Fork 63
feat: add compressed graph in normal graph datacell #832
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Deming Chu <[email protected]>
…ompressed graph in deserial Signed-off-by: Deming Chu <[email protected]>
Signed-off-by: Deming Chu <[email protected]>
Signed-off-by: Deming Chu <[email protected]>
for (InnerIdType id = 0; id < this->max_capacity_; ++id) { | ||
GraphDataCell::InsertNeighborsById(id, empty_ids); | ||
} | ||
} |
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.
When building a compressed graph from normal graph datacell, the prograph will go wrong if the neighbor set is not initialized by InsertNeighborsById (dirty data)
Init by InsertNeighborsById in the constructor and Resize.
Signed-off-by: Deming Chu <[email protected]>
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
Signed-off-by: Deming Chu <[email protected]>
Signed-off-by: Deming Chu <[email protected]>
InnerIdType current = total_count_.load(); | ||
while (current < id + 1 && !total_count_.compare_exchange_weak(current, id + 1)) { | ||
} | ||
} |
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.
IVF will be influenced by total_count_. Fix the segmentation fault
Signed-off-by: Deming Chu <[email protected]>
Signed-off-by: Deming Chu <[email protected]>
Signed-off-by: Deming Chu <[email protected]>
Signed-off-by: Deming Chu <[email protected]>
Signed-off-by: Deming Chu <[email protected]>
Signed-off-by: Xiangyu Wang <[email protected]>
Signed-off-by: Deming Chu <[email protected]>
Signed-off-by: Deming Chu <[email protected]>
Signed-off-by: Deming Chu <[email protected]>
Signed-off-by: Deming Chu <[email protected]>
Codecov ReportAttention: Patch coverage is ❌ Your patch check has failed because the patch coverage (76.47%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. @@ Coverage Diff @@
## main #832 +/- ##
==========================================
- Coverage 90.54% 90.13% -0.42%
==========================================
Files 222 218 -4
Lines 14972 14461 -511
==========================================
- Hits 13556 13034 -522
- Misses 1416 1427 +11
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Signed-off-by: Deming Chu <[email protected]>
Signed-off-by: Deming Chu <[email protected]>
closes: #831