Skip to content

[SYCL] Fix post commit after PR 2292 #3939

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

dm-vodopyanov
Copy link
Contributor

This patch fixes post commit caused by incorrect declaration
of cl namespace:

https://github.com/intel/llvm/runs/2838178517:

In file included from /home/runner/work/llvm/llvm/src/sycl/unittests/scheduler/FailedCommands.cpp:10:
/home/runner/work/llvm/llvm/src/sycl/unittests/scheduler/SchedulerTestUtils.hpp:25:11: error: inline namespace reopened as a non-inline namespace [-Werror,-Winline-namespace-reopened-noninline]
namespace cl {
          ^
inline 
/home/runner/work/llvm/llvm/src/sycl/source/detail/stream_impl.hpp:20:25: note: previous definition is here
__SYCL_INLINE_NAMESPACE(cl) {
                        ^
1 error generated.

This patch fixes post commit caused by incorrect declaration
of `cl` namespace:

https://github.com/intel/llvm/runs/2838178517:

```
In file included from /home/runner/work/llvm/llvm/src/sycl/unittests/scheduler/FailedCommands.cpp:10:
/home/runner/work/llvm/llvm/src/sycl/unittests/scheduler/SchedulerTestUtils.hpp:25:11: error: inline namespace reopened as a non-inline namespace [-Werror,-Winline-namespace-reopened-noninline]
namespace cl {
          ^
inline 
/home/runner/work/llvm/llvm/src/sycl/source/detail/stream_impl.hpp:20:25: note: previous definition is here
__SYCL_INLINE_NAMESPACE(cl) {
                        ^
1 error generated.
```
@dm-vodopyanov dm-vodopyanov requested a review from a team as a code owner June 16, 2021 16:17
@dm-vodopyanov
Copy link
Contributor Author

@pvchupin, can you please merge this patch in your time zone to get rid of post-commit failure as soon as possible?

@pvchupin pvchupin merged commit 5e8e5ea into intel:sycl Jun 16, 2021
alexbatashev pushed a commit to alexbatashev/llvm that referenced this pull request Jun 18, 2021
* upstream/sycl: (776 commits)
  Align CMake requirements with upstream. (intel#3928)
  [SYCL] Deprecate [[intel::reqd_work_group_size]] attribute spelling (intel#3927)
  [SYCL] Fix post commit after PR 2292 (intel#3939)
  {SYCL][PI][L0] - Eliminate std::string construction/destruction overhead. (intel#3931)
  [ESIMD] Overloading sycl sin,cos,exp,log functions for ESIMD arguments (intel#3717)
  [sycl-post-link] Add device image property for assert feature (intel#3881)
  [SYCL] Split read/write lockings (intel#2292)
  Handle OpSpecConstantOp with Select
  Handle OpSpecConstantOp with SMod
  Add tests for SConvert, UConvert, BitCast OpSpecConstantOp
  Fix attachment of decoration to spec constants
  Implement support for dynamic memmove
  Align clang-tidy/format versions to LLVM version
  Handle OpSpecConstantOp for integer comparisons
  Handle OpSpecConstantOp for SNegate, Not, and LogicalNot
  Extend OpSpecConstantOp testing for initializers
  Use IRBuilder for folding
  Fix translating of compile unit
  Support buffers in LinalgFoldUnitExtentDims
  [gn build] Port d0a5d86
  ...
@dm-vodopyanov dm-vodopyanov deleted the private/dvodopya/fix-postcommit-after-pr2292 branch February 10, 2022 14:06
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