[all-commits] [llvm/llvm-project] 7fd9f0: [libc] Remove `MAX_LANE_SIZE` definition from the ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Aug 23 10:10:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fd9f0f4e0cb0ccdc39d5ed9485569566b61b720
      https://github.com/llvm/llvm-project/commit/7fd9f0f4e0cb0ccdc39d5ed9485569566b61b720
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-08-23 (Wed, 23 Aug 2023)

  Changed paths:
    M libc/src/__support/RPC/rpc_util.h
    M libc/utils/gpu/loader/Loader.h
    M libc/utils/gpu/loader/amdgpu/Loader.cpp
    M libc/utils/gpu/loader/nvptx/Loader.cpp
    M libc/utils/gpu/server/rpc_server.cpp
    M libc/utils/gpu/server/rpc_server.h

  Log Message:
  -----------
  [libc] Remove `MAX_LANE_SIZE` definition from the RPC server

This `MAX_LANE_SIZE` was a hack from the days when we used a single
instance of the server and had some GPU state handle it. Now that we
have everything templated this really shouldn't be used. This patch
removes its use and replaces it with template arguments.

Reviewed By: JonChesterfield

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




More information about the All-commits mailing list