Skip to content

Revert "[SYCL][UR] Link UR PI against UR Loader" #8781

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 1 commit into from
Mar 27, 2023
Merged

Conversation

bader
Copy link
Contributor

@bader bader commented Mar 27, 2023

Reverts #8637

It caused at least 3 known regressions.

  1. [SYCL][UR] Link UR PI against UR Loader #8637 (comment)
  2. \sycl\plugins\unified_runtime\ur\adapters\level_zero\ur_level_zero_common.hpp(10): fatal error C1083: Cannot open include file: 'sycl/detail/pi.h': No such file or directory
  3. ld: error: undefined symbol: pthread_rwlock_wrlock (with GCC 7.5)

@bader bader requested a review from a team as a code owner March 27, 2023 15:30
@bader
Copy link
Contributor Author

bader commented Mar 27, 2023

/testwin

@bader
Copy link
Contributor Author

bader commented Mar 27, 2023

It caused at least 3 known regressions.

  1. [SYCL][UR] Link UR PI against UR Loader #8637 (comment)
  2. \sycl\plugins\unified_runtime\ur\adapters\level_zero\ur_level_zero_common.hpp(10): fatal error C1083: Cannot open include file: 'sycl/detail/pi.h': No such file or directory
  3. ld: error: undefined symbol: pthread_rwlock_wrlock (with GCC 7.5)

@bmyates, FYI. Please, investigate these issues and re-apply fixed patch.

@bmyates
Copy link
Contributor

bmyates commented Mar 27, 2023

Reverts #8637

It caused at least 3 known regressions.

  1. [SYCL][UR] Link UR PI against UR Loader #8637 (comment)
  2. \sycl\plugins\unified_runtime\ur\adapters\level_zero\ur_level_zero_common.hpp(10): fatal error C1083: Cannot open include file: 'sycl/detail/pi.h': No such file or directory
  3. ld: error: undefined symbol: pthread_rwlock_wrlock (with GCC 7.5)

@bader Ok I will look into this. Where were these issues observed at? Why were they not detected in pre-merge checks? Just trying to understand the process

@bader bader temporarily deployed to aws March 27, 2023 16:12 — with GitHub Actions Inactive
@bader
Copy link
Contributor Author

bader commented Mar 27, 2023

Where were these issues observed at?

  1. Post-commit.
  2. Pre-commit for [CI] Enable SYCL End-to-End tests on Windows for post-commit #8656 (technically, matches post-commit).
  3. Internal build with old GCC toolchain.

Why were they not detected in pre-merge checks? Just trying to understand the process

We don't have enough resources to run all possible checks in pre-merge checks, so it's possible that some issues can be reported post-merge. Issue 2 is non-deterministic and might be easier to reproduce on specific CI machines.

@bader bader merged commit 0c212e3 into sycl Mar 27, 2023
@bader bader deleted the revert-8637-use_loader branch March 27, 2023 17:07
@bader bader temporarily deployed to aws March 27, 2023 17:20 — with GitHub Actions Inactive
@jandres742
Copy link
Contributor

@bmyates : please see here discussion on the issues seen:

#8774

specifically:

#8774 (comment)

veselypeta pushed a commit to veselypeta/llvm that referenced this pull request Sep 21, 2023
Reverts intel#8637

It caused at least 3 known regressions.

1. intel#8637 (comment)
2.
\sycl\plugins\unified_runtime\ur\adapters\level_zero\ur_level_zero_common.hpp(10):
fatal error C1083: Cannot open include file: 'sycl/detail/pi.h': No such
file or directory
3. ld: error: undefined symbol: pthread_rwlock_wrlock (with GCC 7.5)
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.

3 participants