llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[SYCL][ABI Break] Remove "cl" namespace

Open aelovikov-intel opened this issue 2 years ago • 9 comments

As part of the change, also start using "inline namespace _V1" to allow possible future ABI-affecting changes.

aelovikov-intel avatar Aug 02 '22 18:08 aelovikov-intel

SPIRV upstream change: https://github.com/KhronosGroup/SPIRV-LLVM-Translator/pull/1564

aelovikov-intel avatar Aug 02 '22 20:08 aelovikov-intel

/verify with https://github.com/intel/llvm-test-suite/pull/1128

aelovikov-intel avatar Aug 03 '22 18:08 aelovikov-intel

/verify with https://github.com/intel/llvm-test-suite/pull/1128

aelovikov-intel avatar Aug 08 '22 21:08 aelovikov-intel

/verify with https://github.com/intel/llvm-test-suite/pull/1128

aelovikov-intel avatar Aug 10 '22 18:08 aelovikov-intel

/verify with https://github.com/intel/llvm-test-suite/pull/1128

aelovikov-intel avatar Aug 10 '22 19:08 aelovikov-intel

/verify with https://github.com/intel/llvm-test-suite/pull/1128

aelovikov-intel avatar Aug 10 '22 21:08 aelovikov-intel

Given how easy it is to get into a merge conflict and how many approvals are required (and hard to get quickly enough), I don't think it will ever be green...

@intel/llvm-gatekeepers , should we weaken the merge criteria here maybe?

aelovikov-intel avatar Aug 10 '22 21:08 aelovikov-intel

Given how easy it is to get into a merge conflict and how many approvals are required (and hard to get quickly enough), I don't think it will ever be green...

@intel/llvm-gatekeepers , should we weaken the merge criteria here maybe?

If your changes only remove "cl", then you have pre-approval from ESIMD (no need for explicit approval here). Otherwise, please ping @intel/dpcpp-esimd-reviewers

v-klochkov avatar Aug 10 '22 21:08 v-klochkov

If your changes only remove "cl", then you have pre-approval from ESIMD (no need for explicit approval here). Otherwise, please ping https://github.com/orgs/intel/teams/dpcpp-esimd-reviewers

They also contain corresponding changes in places where mangling matters, like ESIMDVerifier.cpp/LowerESIMD.cpp.

aelovikov-intel avatar Aug 10 '22 21:08 aelovikov-intel

/verify with https://github.com/intel/llvm-test-suite/pull/1128

aelovikov-intel avatar Aug 11 '22 16:08 aelovikov-intel

Failures on LLVM Test Suite precommit are expected and expected to pass in "verify with" testing. An exception is

Timed Out Tests (1):
  SYCL :: HierPar/hier_par_basic.cpp

which is most likely unrelated. I'd argue that (pending Jenkins/llvm-test-suite) we should proceed with merging this. If, in an unlikely event, of the failure being real I'll address it post-commit.

Edit: Jenkins/precomit is clear. I believe this is as much ready for the merge as would ever be possible, despite missing some formal review approval statuses. @intel/llvm-gatekeepers would you agree to merge this in?

aelovikov-intel avatar Aug 11 '22 18:08 aelovikov-intel