-
Notifications
You must be signed in to change notification settings - Fork 788
[SYCL] Refactor include/sycl/properties/queue_properties.hpp #8048
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
Conversation
Make sure the required amount of boilerplate code is minimal. Fixes an issue with missing explicit instantiations - see new symbols in the ABI test(s).
CUDA's
is known - #8040. |
@KseniyaTikhomirova , ping. |
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.
To be honest I do not like that we introduce new macro. since we have many problems with user macro redefinitions I expected that we would prefer to avoid them.
Although if we still was to add them - should we follow this guide https://github.com/intel/llvm/blob/sycl/sycl/doc/developer/ContributeToDPCPP.md#general-guidelines-1? It says:
"All identifiers used in llvm/sycl headers files must contain at least one lowercase letter due to avoid conflicts with user-defined macros".
@@ -3,7 +3,7 @@ | |||
# DO NOT EDIT IT MANUALLY. Refer to sycl/doc/developer/ABIPolicyGuide.md for more info. | |||
################################################################################ | |||
|
|||
# RUN: env LLVM_BIN_PATH=%llvm_build_bin_dir %python %sycl_tools_src_dir/abi_check.py --mode check_symbols --reference %s %sycl_libs_dir/libsycl.so |
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.
why you removed it? I guess it was done like this for systems where python3 installed.
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.
That's what the script did.
@@ -3,7 +3,7 @@ | |||
# DO NOT EDIT IT MANUALLY. Refer to sycl/doc/developer/ABIPolicyGuide.md for more info. | |||
################################################################################ | |||
|
|||
# RUN: env LLVM_BIN_PATH=%llvm_build_bin_dir %python %sycl_tools_src_dir/abi_check.py --mode check_symbols --reference %s %llvm_build_bin_dir/sycl6.dll | |||
# RUN: env LLVM_BIN_PATH=%llvm_build_bin_dir python %sycl_tools_src_dir/abi_check.py --mode check_symbols --reference %s %llvm_build_bin_dir/sycl6.dll |
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.
same
Modified new macros' names. Not changing their arguments because they don't seem to be affected (and we don't have the rule universally applied to macros arguments in our codebase either) - https://godbolt.org/z/hsn1o6dT8 . |
Failure |
@intel/llvm-gatekeepers , PR is ready. |
Make sure the required amount of boilerplate code is minimal. Fixes
an issue with missing explicit instantiations - see new symbols in the
ABI test(s).