-
Notifications
You must be signed in to change notification settings - Fork 30
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
[SYCLomatic #1083] Add tests for nontrivial run length encode API #393
[SYCLomatic #1083] Add tests for nontrivial run length encode API #393
Conversation
Signed-off-by: Matthew Michel <[email protected]>
Signed-off-by: Matthew Michel <[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 other than minor issue in comment.
@@ -0,0 +1,227 @@ | |||
// ====------ onedpl_test_run_length_encode.cpp---------- -*- C++ -* ----===//// |
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.
Need to fix file name in comment.
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.
Done
Signed-off-by: Matthew Michel <[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
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
This PR adds tests to the API provided in oneapi-src/SYCLomatic#1083. We test the API with various run length encoding inputs (standard case, runs at the beginning and end of buffer, one large run, no runs at all, and different types).
Note that for the implementation to compile oneapi-src/oneDPL#1019 must be first merged into oneDPL.