Searched refs:GpuArch (Results 1 – 6 of 6) sorted by relevance
238 CudaArch GpuArch = static_cast<CudaArch>(Arch); in CudaInstallationDetector() local239 if (!IsNVIDIAGpuArch(GpuArch)) in CudaInstallationDetector()241 std::string GpuArchName(CudaArchToString(GpuArch)); in CudaInstallationDetector()257 StringRef GpuArch = FileName.slice( in CudaInstallationDetector() local259 LibDeviceMap[GpuArch] = FilePath.str(); in CudaInstallationDetector()263 if (GpuArch == "compute_20") { in CudaInstallationDetector()267 } else if (GpuArch == "compute_30") { in CudaInstallationDetector()277 } else if (GpuArch == "compute_35") { in CudaInstallationDetector()280 } else if (GpuArch == "compute_50") { in CudaInstallationDetector()688 StringRef GpuArch = DriverArgs.getLastArgValue(options::OPT_march_EQ); in addClangTargetOptions() local[all …]
375 StringRef GpuArch = OptionalGpuArch.getValue(); in getAMDGPUTargetFeatures() local380 for (auto &&Feature : getAllPossibleTargetIDFeatures(Triple, GpuArch)) { in getAMDGPUTargetFeatures()491 const StringRef GpuArch = getGPUArch(DriverArgs); in getDefaultDenormalModeForType() local492 auto Kind = llvm::AMDGPU::parseArchAMDGCN(GpuArch); in getDefaultDenormalModeForType()576 const StringRef GpuArch = getGPUArch(DriverArgs); in addClangTargetOptions() local577 auto Kind = llvm::AMDGPU::parseArchAMDGCN(GpuArch); in addClangTargetOptions()581 getDriver().Diag(diag::err_drv_no_rocm_device_lib) << 1 << GpuArch; in addClangTargetOptions()
250 StringRef GpuArch = getGPUArch(DriverArgs); in addClangTargetOptions() local251 assert(!GpuArch.empty() && "Must have an explicit GPU arch."); in addClangTargetOptions()252 (void) GpuArch; in addClangTargetOptions()255 auto Kind = llvm::AMDGPU::parseArchAMDGCN(GpuArch); in addClangTargetOptions()311 getDriver().Diag(diag::err_drv_no_rocm_device_lib) << 1 << GpuArch; in addClangTargetOptions()
162 const CudaArch GpuArch; variable173 CudaArch getGpuArch() const { return GpuArch; } in getGpuArch()
58 : Action(CudaDeviceClass, Input), GpuArch(Arch), AtTopLevel(AtTopLevel) {} in CudaDeviceAction()
1792 StringRef GpuArch = FileName.slice( in init() local1794 LibDeviceMap[GpuArch] = FilePath.str(); in init()1796 if (GpuArch == "compute_20") { in init()1799 } else if (GpuArch == "compute_30") { in init()1802 } else if (GpuArch == "compute_35") { in init()1805 } else if (GpuArch == "compute_50") { in init()