Tags: ROCm/clang
Tags
SWDEV-179954 - OpenCL/LC - Merge branch amd-master into amd-common Change-Id: I0ee933644ceaf90580a5be734299adb993daaa48
SWDEV-197801 - Fix device lambda compilation on Windows.
[HIP] Enhance lambda support on MSVC platform.
- MSVC uses different C++ ABI. The different mangle numbering causes
lambda is identified differently from Itantium C++ ABI. The result in
the different host-compilation device kernel name mangling from
device-compilation.
- This patch fixes the aforementioned issue by
+ Add device mangling number for each lambda.
+ Pair Itanium C++ mangle numbering contgext with Microsoft C++ mangle
numbering context to assign correct device-side lambda numbers.
+ During mangling, use device lambda number if the mangle context is
a device context.
+ Revise the test with MSVC support.
Change-Id: Id1ab307cdad010f9bec38cdd779c9fbb042158e2
Revert "Replace llvm::integer_sequence and friends with the C++14 sta… …ndard version" This reverts commit f724ed4. Commit requires newer gcc than is used in our internal builds. Revert until newer gcc is available. Change-Id: I513287576ad2e98675d8554f4b665f5398c46c60
PreviousNext