[all-commits] [llvm/llvm-project] ccb102: [HIP] Move std headers after device malloc/free

Aaron Enye Shi via All-commits all-commits at lists.llvm.org
Fri Jul 9 14:21:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ccb10266f56bc34123eb7741c6ebcd5ba8ed3dcc
      https://github.com/llvm/llvm-project/commit/ccb10266f56bc34123eb7741c6ebcd5ba8ed3dcc
  Author: Aaron En Ye Shi <enye.shi at gmail.com>
  Date:   2021-07-09 (Fri, 09 Jul 2021)

  Changed paths:
    M clang/lib/Headers/__clang_hip_runtime_wrapper.h
    M clang/test/Headers/hip-header.hip

  Log Message:
  -----------
  [HIP] Move std headers after device malloc/free

Set the device malloc and free functions as weak,
and move the std headers after device malloc/free
to avoid issues with std malloc/free.

Fixes: SWDEV-293590

Reviewed By: yaxunl

Differential Revision: https://reviews.llvm.org/D105707




More information about the All-commits mailing list