1. Nov 19, 2021
    • Krzysztof Drewniak's avatar
      [MLIR][GPU] Add target arguments to SerializeToHsaco · fb1a06aa
      Krzysztof Drewniak authored
      Compiling code for AMD GPUs requires knowledge of which chipset is
      being targeted, especially if the code uses chipset-specific
      intrinsics (which is the case in a downstream convolution generator).
      This commit adds `target`, `chipset` and `features` arguments to the
      SerializeToHsaco constructor to enable passing in this required
      information.
      
      It also amends the ROCm integration tests to pass in the target
      chipset, which is set to the chipset of the first GPU on the system
      executing the tests.
      
      Reviewed By: mehdi_amini
      
      Differential Revision: https://reviews.llvm.org/D114107
      fb1a06aa
    • Jacques Pienaar's avatar
      [mlir][doc] Rename doc to match previous name · a3f2be18
      Jacques Pienaar authored
      Previous change inadvertently changed link.
      a3f2be18
    • Peter S. Housel's avatar
      [libunwind] Add an interface for dynamic .eh_frame registration · bab39816
      Peter S. Housel authored
      The libgcc runtime library provides __register_frame and
      __deregister_frame functions, which can be used by dynamic code
      generators to register an .eh_frame section, which contains one or
      more Call Frame Information records, each consisting of a Common
      Information Entry record followed by one or more Frame Description
      Entry records. This libunwind library also provides __register_frame
      and __deregister_frame functions, but they are aliases for
      __unw_add_dynamic_fde and __unw_remove_dynamic_fde and thus can only
      take a single FDE.
      
      This patch adds __unw_add_dynamic_eh_frame_section and
      __unw_remove_dynamic_eh_frame_section functions which explicitly use
      the .eh_frame format. Clients such as the ORCv2 platform and runtime
      can check for these functions and use them if unwinding is being
      provided by libunwind, or fall back to __register_frame and
      __deregister_frame if unwinding is provided by libgcc.
      
      Reviewed By: lhames
      
      Differential Revision: https://reviews.llvm.org/D111863
      bab39816
    • Jay Foad's avatar
    • Arthur O'Dwyer's avatar
      1ce516d4
  2. Nov 18, 2021