-
Notifications
You must be signed in to change notification settings - Fork 423
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
UCS/API event_set #3426
UCS/API event_set #3426
Conversation
Can one of the admins verify this patch? |
ok to test |
Test PASSed. |
Test PASSed. |
also, need to add unit test for it, and add it to Makefile |
Hello, @yosefe Thank you for the comment. Best regards. |
@hiroyuki-sato yes, these are the unit test files, they have to be i C++ because it uses google test infrastructure. i'd suggest to copy/paste from another test for start, ucs tests are pretty simple |
Test FAILed. |
Hello, @yosefe Thanks!, I added a unit test skeleton and run test. I'll add test cases.
|
Test FAILed. |
Test PASSed. |
Test FAILed. |
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.
Hello, @yosefe
Could you review those commit?
Test FAILed. |
Test FAILed. |
Hello, @yosefe Thank you for the comment. I'll fix it. |
Hello, @yosefe and @shamisp. Currently, I created two tests.
Do we need to create a write(EPOLLOUT) test? |
Test PASSed. |
Test PASSed. |
Test FAILed. |
Test FAILed. |
Test FAILed. |
Test FAILed. |
Test PASSed. |
Test FAILed. |
Test PASSed. |
Test FAILed. |
Hello, @yosefe Best regards. |
Test PASSed. |
Test FAILed. |
@hiroyuki-sato pls also squash all commits (we have too many already: 37) and commit title would be: |
9020dbf
to
69fb2d5
Compare
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.
@yosefe Thank you for your review. I squashed all commits. Please take a look again.
Test PASSed. |
69fb2d5
to
6746858
Compare
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.
@yosefe Thank you for the comment. I changed about your comments. Please take a look again when you get a chance.
Test FAILed. |
Test PASSed. |
Test PASSed. |
# include "config.h" | ||
#endif | ||
|
||
#define UCS_EVENT_EPOLL_MAX_EVENTS 16 |
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.
@yosefe Why it is 16 ?
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.
@shamisp JFYI This value just copied from https://github.com/openucx/ucx/blob/master/src/ucs/async/thread.c#L20
👍 |
What
This PR is aim for porting OpenUCX to macOS.
This PR a request for review design API.
Why ?
macOS doesn't exist
epoll
function. Instead, it needs to usekqueue
.How ?
I'm seperating epoll codes into
ucs/sys/event_set.{c,h}
.@yosefe Could you review this?