[libc-commits] [PATCH] D148635: [libc] Add a support library for GPU utilities

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Apr 18 09:35:28 PDT 2023


jhuber6 updated this revision to Diff 514665.
jhuber6 added a comment.

Adding a 'generic' folder. This will be a shim that tries to return something
reasonable when called from a non-GPU target. This will primarily be used for
RPC which needs to be compiled on the CPU and GPU. Also this makes my language
server happy because otherwise it doesn't define the function.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148635/new/

https://reviews.llvm.org/D148635

Files:
  libc/src/__support/CMakeLists.txt
  libc/src/__support/GPU/CMakeLists.txt
  libc/src/__support/GPU/amdgpu/CMakeLists.txt
  libc/src/__support/GPU/amdgpu/utils.h
  libc/src/__support/GPU/generic/CMakeLists.txt
  libc/src/__support/GPU/generic/utils.h
  libc/src/__support/GPU/nvptx/CMakeLists.txt
  libc/src/__support/GPU/nvptx/utils.h
  libc/src/__support/GPU/utils.h
  libc/src/__support/RPC/CMakeLists.txt
  libc/src/__support/RPC/rpc.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148635.514665.patch
Type: text/x-patch
Size: 5990 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230418/a9e9f1f5/attachment.bin>


More information about the libc-commits mailing list