diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2023-01-27 13:04:50 -0600 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2023-01-27 14:06:01 -0600 |
commit | feedb4ad7d305c5864127e2b27ae650e8f04fc58 (patch) | |
tree | 4052028e4215757719c925ef33c53ac8c4ca564e /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | |
parent | 8583291dfc43f5769291d8e70d84125154e61341 (diff) | |
download | llvm-feedb4ad7d305c5864127e2b27ae650e8f04fc58.zip llvm-feedb4ad7d305c5864127e2b27ae650e8f04fc58.tar.gz llvm-feedb4ad7d305c5864127e2b27ae650e8f04fc58.tar.bz2 |
[libc] Add code for detecting NVIDIA GPUs as well
Recently the `nvptx-arch` tool was added to address the lack of a
similar tool for detecting locally installed NVIDIA GPUs. This patch
adds similar functionality for the already existing `amdgpu-arch` tool
in libc. These will be used to run tests on the user's system in the
future. On a system with both GPUs installed we will just go with the
first GPU detected. In the future we may want to configure the tests to
run on both of them.
Reviewed By: sivachandra, lntue
Differential Revision: https://reviews.llvm.org/D142776
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions