DPC++ daily 2022-10-17
Pre-release
Pre-release
·
122839 commits
to sycl
since this release
[LIBCLC] Fix mangling in atomic functions (#7057) Hard coding the substitution for `AtomicFAddEXT` meant that for the case without AS specified, it was pushing the `MemorySemanticFlag` inside `Scope` namespace creating: ```cpp __spirv_AtomicFAddEXT(double*, __spv::Scope::Flag, __spv::Scope::MemorySemanticsMask::Flag, double) ``` For the `Increment`, the number of chars for the mangled name `_Z24` was correct, but the typo in the op name was resulting in the pointer being lost, resulting in the first argument being just a value: ```cpp __spirv_AtomicIncrementP(unsigned long AS1, __spv::Scope::Flag, __spv::Scope::MemorySemanticsMask::Flag) ```