Skip to content

Conversation

@aelovikov-intel
Copy link
Contributor

Instead of using preprocessor via swizzles.def file that is included
multiple times, employ mixin-based approach which is more C++'ish.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm using "Both" vs "Const" here because that's what existing implementation does. Per the specification it should be const only version - to be cleaned up separately under -fpreview-breaking-changes.

Instead of using preprocessor via `swizzles.def` file that is included
multiple times, employ mixin-based approach which is more C++'ish.
@aelovikov-intel aelovikov-intel marked this pull request as ready for review December 16, 2024 16:23
@aelovikov-intel
Copy link
Contributor Author

@intel/llvm-reviewers-runtime , ping.

# Conflicts:
#	sycl/test/check_device_code/vector/vector_bf16_builtins.cpp
#	sycl/test/check_device_code/vector/vector_convert_bfloat.cpp
#	sycl/test/check_device_code/vector/vector_math_ops.cpp
Copy link
Contributor

@KseniyaTikhomirova KseniyaTikhomirova left a comment

Choose a reason for hiding this comment

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

LGTM

@aelovikov-intel aelovikov-intel merged commit fe98db3 into intel:sycl Dec 19, 2024
14 checks passed
@aelovikov-intel aelovikov-intel deleted the named-swizzles-mixin branch December 19, 2024 16:09
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.

2 participants