-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL]Remove warning about SYCL_EXTERNAL with pointers #2722
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
[SYCL]Remove warning about SYCL_EXTERNAL with pointers #2722
Conversation
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.
I don't have strong preference here, but this diagnostic was spec-defined behavior even though our implementation of address spaces is not SYCL 1.2.1 compliant. So, it would be great to hear feedback from @mkinsner and @rolandschulz here.
@Fznamznon This change was made based on @rolandschulz's input. I will share his comment below.
|
The PR message contains one of my sentences:
But it doesn't contain the other part:
We might want to create a new issue to add such a useful warning and partially revert this commit and make it a part of such a new optional warning. I'm not sure whether users need that or would just use a different SYCL implementation without generic address space if they need to get diagnostic regarding features not available without generic address space. Either way I think we want to use this commit for now. |
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
I don't see any test failures reported in buildbot/Lit_With_Cuda.
I tried retriggering the build a couple of times but still get the above failure. Update: The Cuda buildbot has passed this time. |
* upstream/sycl: [SYCL] Move tests with dependencies to on-device directory (intel#2732) [SYCL][Test] Remove leftovers for FPGA archives (intel#2735) [SYCL][NFC] Extend ABI tests to cover device code (intel#2725) [SYCL] Fix link to ESIMD tests (intel#2736) Added the SYCL_INTEL_mem_channel_property extension specification (intel#2688) [SYCL] Add support for new FPGA loop attribute nofusion (intel#2715) [SYCL] Remove host-task-dependency test added to llvm-test-suite (intel#2720) [SYCL] Remove warning about SYCL_EXTERNAL with pointers (intel#2722) [SYCL] dot_product support. (intel#2609) [SYCL][PI][L0] Fix a problem with kernels and programs destruction while they can be used (intel#2710) [SYCL] Fix the check for read-only host pointer during memobj creation (intel#2697)
@dm-vodopyanov and @alexbatashev were looking into this issue in the past. It's a known issue, but it doesn't look like "infrastructure" issue. |
@bader Thanks for clarifying that it is not an "infrastructure" issue. IIRC, I saw this issue in one other PR at least. |
At the moment, the root cause of this issue is unknown. |
…ure (#2722) Fix issue #2721: Incorrect translation of calls to a builtin that returns a structure: create just one load, and account for a special case when Translator prepared a well-known pattern (store/load) for itself. Original commit: KhronosGroup/SPIRV-LLVM-Translator@dc1221cd83e67ef
Raw pointers for SYCL_EXTERNAL are prohibited without generic address space. Generic address space doesn't exist in 1.2.1 and is optional in 2020. Our implementation isn't spec compliant to 1.2.1 because we use generic address space (among other).
This diagnostic has no practical value to users. We aren't warning about something which has any impact for our implementation based on generic address space.