[libc-commits] [PATCH] D146322: [libc] Add environment variables to GPU libc test for AMDGPU

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Mar 17 12:07:59 PDT 2023


jhuber6 created this revision.
jhuber6 added reviewers: lntue, sivachandra, JonChesterfield, michaelrj.
Herald added subscribers: libc-commits, mikhail.ramalho, kosarev, ecnelises, kerbowa, tschuett, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added projects: libc-project, All.
jhuber6 requested review of this revision.
Herald added a subscriber: wdng.

This patch performs the same operation to copy over the `argv` array to
the `envp` array. This allows the GPU tests to use environment
variables.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146322

Files:
  libc/startup/gpu/amdgpu/start.cpp
  libc/test/integration/startup/gpu/CMakeLists.txt
  libc/test/integration/startup/gpu/args_test.cpp
  libc/utils/gpu/loader/Loader.h
  libc/utils/gpu/loader/Main.cpp
  libc/utils/gpu/loader/amdgpu/Loader.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146322.506168.patch
Type: text/x-patch
Size: 5386 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230317/d884efaa/attachment.bin>


More information about the libc-commits mailing list