[libc-commits] [PATCH] D158633: [libc] Remove `MAX_LANE_SIZE` definition from the RPC server
    Joseph Huber via Phabricator via libc-commits 
    libc-commits at lists.llvm.org
       
    Wed Aug 23 09:10:56 PDT 2023
    
    
  
jhuber6 created this revision.
jhuber6 added reviewers: JonChesterfield, sivachandra.
Herald added subscribers: libc-commits, mattd, asavonic, kerbowa, jvesely.
Herald added projects: libc-project, All.
jhuber6 requested review of this revision.
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.
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D158633
Files:
  libc/src/__support/RPC/rpc_util.h
  libc/utils/gpu/loader/Loader.h
  libc/utils/gpu/loader/amdgpu/Loader.cpp
  libc/utils/gpu/loader/nvptx/Loader.cpp
  libc/utils/gpu/server/rpc_server.cpp
  libc/utils/gpu/server/rpc_server.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158633.552748.patch
Type: text/x-patch
Size: 6879 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230823/6bf5be56/attachment-0001.bin>
    
    
More information about the libc-commits
mailing list