[all-commits] [llvm/llvm-project] 3feb8b: [HIP][HIPSTDPAR] Re-work allocation interposition ...

Alex Voicu via All-commits all-commits at lists.llvm.org
Wed May 7 06:14:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3feb8b42e973f935883bc9e779645ecdae1a586d
      https://github.com/llvm/llvm-project/commit/3feb8b42e973f935883bc9e779645ecdae1a586d
  Author: Alex Voicu <alexandru.voicu at amd.com>
  Date:   2025-05-07 (Wed, 07 May 2025)

  Changed paths:
    M clang/docs/HIPSupport.rst
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/test/Preprocessor/predefined-macros.c
    M llvm/lib/Transforms/HipStdPar/HipStdPar.cpp
    M llvm/test/Transforms/HipStdPar/allocation-interposition.ll

  Log Message:
  -----------
  [HIP][HIPSTDPAR] Re-work allocation interposition for `hipstdpar` (#138790)

The allocation interposition mode had a number of issues, which are
primarily addressed in the library component via
<https://github.com/ROCm/rocThrust/pull/543>. However, it is necessary
to interpose some additional symbols, which this patch does.
Furthermore, to implement this in a compatible way, we guard the new
implementation under a V1 macro, which is defined in addition to the
existing `__HIPSTDPAR_INTERPOSE_ALLOC__` one.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list