[all-commits] [llvm/llvm-project] 8341a4: [libc] Update the AMDGPU implementation to use cod...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Nov 21 05:14:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8341a40ec1993a5d2b75b326720e7b6661f4b36a
      https://github.com/llvm/llvm-project/commit/8341a40ec1993a5d2b75b326720e7b6661f4b36a
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2023-11-21 (Tue, 21 Nov 2023)

  Changed paths:
    M libc/cmake/modules/prepare_libc_gpu_build.cmake
    M libc/utils/gpu/loader/amdgpu/Loader.cpp

  Log Message:
  -----------
  [libc] Update the AMDGPU implementation to use code object 5 (#72580)

Summary:
This patch includes the necessary changes to make the `libc` tests
running on AMD GPUs run using the newer code object version. The 'code
object version' is AMD's internal ABI for making kernel calls. The move
from 4 to 5 changed how we handle arguments for builtins such as
obtaining the grid size or setting up the size of the private stack.

Fixes: https://github.com/llvm/llvm-project/issues/72517




More information about the All-commits mailing list