Skip to content

[SYCL] Improve UX for abi_check.py tool #2141

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

Merged
merged 3 commits into from
Jul 20, 2020

Conversation

alexbatashev
Copy link
Contributor

The tool now prints a header with a correct LIT run line.

Alexander Batashev added 3 commits July 20, 2020 12:49
The tool now prints a header with a correct LIT run line.

Signed-off-by: Alexander Batashev <[email protected]>
Signed-off-by: Alexander Batashev <[email protected]>
Signed-off-by: Alexander Batashev <[email protected]>
@alexbatashev alexbatashev requested a review from a team as a code owner July 20, 2020 09:55
@alexbatashev alexbatashev requested a review from v-klochkov July 20, 2020 09:55
@@ -3784,6 +3789,10 @@ _ZN2cl4sycl6kernelC1EP10_cl_kernelRKNS0_7contextE
_ZN2cl4sycl6kernelC1ESt10shared_ptrINS0_6detail11kernel_implEE
_ZN2cl4sycl6kernelC2EP10_cl_kernelRKNS0_7contextE
_ZN2cl4sycl6kernelC2ESt10shared_ptrINS0_6detail11kernel_implEE
_ZN2cl4sycl6level010make_queueERKNS0_7contextEm
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably we should sort symbols to make it easier to understand what symbols were changed between releases.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The script sorts symbols:

symbols.sort()

Developers, however, not necessarily use it. This is why I also updated header to discourage people from editing these files manually.

Copy link
Contributor

@v-klochkov v-klochkov left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@bader bader merged commit 126b483 into intel:sycl Jul 20, 2020
@alexbatashev alexbatashev deleted the improve_abi_dump_tool branch July 21, 2020 08:13
jsji pushed a commit that referenced this pull request Aug 31, 2023
Requiring the `Shader` capability for any module that uses
`llvm.bitreverse` is problematic for OpenCL execution environments.
Only require the `Shader` capability if we cannot use the
`BitInstructions` capability.

Fixes KhronosGroup/SPIRV-LLVM-Translator#2139

Original commit:
KhronosGroup/SPIRV-LLVM-Translator@8701279
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