llvm-project
25c02fbc - [Clang] Hide `offload-arch` initialization errors behind verbose flag (#151964)

Commit
182 days ago
[Clang] Hide `offload-arch` initialization errors behind verbose flag (#151964) Summary: This tool tries to print the offloading architectures. If the user doesn't have the HIP libraries or the CUDA libraries it will print and error. This isn't super helpful since we're just querying things. So, for example, if we're on an AMD machine with no CUDA you'll get the AMD GPUs and then an error message saying that CUDA wasn't found. This silences the error just on failing to find the library unless verbose is on.
Author
Parents
Loading