[all-commits] [llvm/llvm-project] a2cdb9: [mlir][AMDGPU] Set ABI version constant when linki...

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Fri Jun 10 11:41:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2cdb9791bf8085d3e6aee2f86c181b971c4a4e0
      https://github.com/llvm/llvm-project/commit/a2cdb9791bf8085d3e6aee2f86c181b971c4a4e0
  Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
  Date:   2022-06-10 (Fri, 10 Jun 2022)

  Changed paths:
    M mlir/lib/Dialect/GPU/Transforms/SerializeToHsaco.cpp

  Log Message:
  -----------
  [mlir][AMDGPU] Set ABI version constant when linking device libs

Currently, linking the device libraries requires setting a constant
that indicates the code object ABI version the compilation is
targeting.

This fixes the MLIR linking process by setting this constant to 400,
which is the value corresponding to the current code object ABI
default, version 4.

Reviewed By: Mogball

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




More information about the All-commits mailing list