[Openmp-commits] [PATCH] D102054: [AMDGPU][OpenMP] Disable tests when amdgpu-arch fails

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri May 7 09:45:24 PDT 2021


protze.joachim accepted this revision.
protze.joachim added a comment.

lgtm as well.

In D102054#2744637 <https://reviews.llvm.org/D102054#2744637>, @JonChesterfield wrote:

> I'd like something similar for cuda, where a system may have cuda installed but no nvidia card present. I wonder if there's an executable in the cuda toolkit that could serve the same purpose.



  $ nvidia-smi -L
  GPU 0: Tesla V100-SXM2-16GB (UUID: GPU-xyz...)
  GPU 1: Tesla V100-SXM2-16GB (UUID: GPU-xyz...)



>   SUMMARY OPTIONS
>   -L, --list-gpus
>       List each of the NVIDIA GPUs in the system, along with their UUIDs.

I cannot test, what the tool does, if no NVIDIA GPU is available in a system. We only have the tool installed on nodes with GPUs. It might return an error code or just have an empty output.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102054



More information about the Openmp-commits mailing list