[all-commits] [llvm/llvm-project] 54a6cc: [libomptarget][amdgpu] Add hidden_heap_v1 kernarg ...

Saiyedul Islam via All-commits all-commits at lists.llvm.org
Tue Apr 12 20:58:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54a6cc3405607d439cab93d2be2912e36d50ebae
      https://github.com/llvm/llvm-project/commit/54a6cc3405607d439cab93d2be2912e36d50ebae
  Author: Saiyedul Islam <Saiyedul.Islam at amd.com>
  Date:   2022-04-13 (Wed, 13 Apr 2022)

  Changed paths:
    M openmp/libomptarget/plugins/amdgpu/impl/system.cpp

  Log Message:
  -----------
  [libomptarget][amdgpu] Add hidden_heap_v1 kernarg metadata

Code object version 5 adds support of hidden_heap_v1 kernarg
metadata field [1]. It is a global address space pointer to an
initialized memory buffer that conforms to the requirements of the
malloc/free device library V1 version implementation.

[1] https://llvm.org/docs/AMDGPUUsage.html#amdgpu-amdhsa-code-object-kernel-argument-metadata-map-table-v5

Reviewed By: carlo.bertolli

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




More information about the All-commits mailing list