[all-commits] [llvm/llvm-project] b26970: [libc] Enable integration tests targeting NVIDIA GPUs
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Mar 27 06:49:34 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b26970ec4b79590f41f5e1dd7cb56d5f8d4d9301
https://github.com/llvm/llvm-project/commit/b26970ec4b79590f41f5e1dd7cb56d5f8d4d9301
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-03-27 (Mon, 27 Mar 2023)
Changed paths:
M libc/cmake/modules/LLVMLibCTestRules.cmake
M libc/utils/gpu/loader/CMakeLists.txt
Log Message:
-----------
[libc] Enable integration tests targeting NVIDIA GPUs
This patch adds the necessary build infrastructure to build and run the
integration tests on NVIDIA GPUs. The NVIDIA `nvlink` linker utility is
what is ultimately used to combine these files into a single executable
image. Unfortunately, their tool does not support static libraries. So
we need to link with every object directly instead. This could be solved
by impelementing a "wrapper" utility around `nvlink` like we used to use
for OpenMP. But for now this should be sufficient.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D146861
More information about the All-commits
mailing list