Skip to content
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] Adding dpct::null_type test #219

Merged

Conversation

danhoeflinger
Copy link
Contributor

@danhoeflinger danhoeflinger commented Feb 7, 2023

Adding example usage of dpct::null_type.

It is intended to be used to indicate that the argument is unused and does not need to be acted upon. Here we are redirecting to a key swap instead of a pair swap using metaprogramming when dpct::null_type is used for the value type.

This test requires oneapi-src/SYCLomatic#528 to be merged.

@danhoeflinger danhoeflinger requested a review from a team as a code owner February 7, 2023 15:08
@danhoeflinger danhoeflinger changed the title Adding dpct::null_type test [SYCLomatic] [DPCT] Adding dpct::null_type test Feb 8, 2023
@danhoeflinger danhoeflinger changed the title [SYCLomatic] [DPCT] Adding dpct::null_type test [SYCLomatic] Adding dpct::null_type test Feb 16, 2023
Copy link
Contributor

@zhimingwang36 zhimingwang36 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@yihanwg yihanwg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, can you please rebase this patch?

Signed-off-by: Dan Hoeflinger <[email protected]>
Signed-off-by: Dan Hoeflinger <[email protected]>
Signed-off-by: Dan Hoeflinger <[email protected]>
@danhoeflinger
Copy link
Contributor Author

LGTM, can you please rebase this patch?

@yihanwg done

@danhoeflinger
Copy link
Contributor Author

The failing test for onedpl_test_copy_if is unrelated to this PR.

At first glance, it looks related to what should be resolved by #243.

@ShengchenJ ShengchenJ merged commit a740e78 into oneapi-src:SYCLomatic Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants