Lines Matching defs:GpuArch
247 StringRef GpuArch = FileName.slice(
249 LibDeviceMap[GpuArch] = FilePath.str();
253 if (GpuArch == "compute_20") {
257 } else if (GpuArch == "compute_30") {
267 } else if (GpuArch == "compute_35") {
270 } else if (GpuArch == "compute_50") {
825 StringRef GpuArch = DriverArgs.getLastArgValue(options::OPT_march_EQ);
826 assert(!GpuArch.empty() && "Must have an explicit GPU arch.");
850 std::string LibDeviceFile = CudaInstallation.getLibDeviceFile(GpuArch);
852 getDriver().Diag(diag::err_drv_no_cuda_libdevice) << GpuArch;
882 addOpenMPDeviceRTL(getDriver(), DriverArgs, CC1Args, GpuArch.str(),