Home
last modified time | relevance | path

Searched refs:GPUArchs (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DAMDGPU.cpp747 SmallVector<std::string, 1> &GPUArchs) const { in detectSystemGPUs()
788 GPUArchs.push_back(LineIt->str()); in detectSystemGPUs()
796 SmallVector<std::string, 1> GPUArchs; in getSystemGPUArch() local
797 auto Err = detectSystemGPUs(Args, GPUArchs); in getSystemGPUArch()
801 if (GPUArchs.empty()) { in getSystemGPUArch()
805 GPUArch = GPUArchs[0]; in getSystemGPUArch()
806 if (GPUArchs.size() > 1) { in getSystemGPUArch()
807 bool AllSame = llvm::all_of(GPUArchs, [&](const StringRef &GPUArch) { in getSystemGPUArch()
808 return GPUArch == GPUArchs.front(); in getSystemGPUArch()
H A DAMDGPU.h130 SmallVector<std::string, 1> &GPUArchs) const;