Home
last modified time | relevance | path

Searched refs:GpuArch (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/clang/lib/Driver/ToolChains/
DCuda.cpp238 CudaArch GpuArch = static_cast<CudaArch>(Arch); in CudaInstallationDetector() local
239 if (!IsNVIDIAGpuArch(GpuArch)) in CudaInstallationDetector()
241 std::string GpuArchName(CudaArchToString(GpuArch)); in CudaInstallationDetector()
257 StringRef GpuArch = FileName.slice( in CudaInstallationDetector() local
259 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 …]
DAMDGPU.cpp375 StringRef GpuArch = OptionalGpuArch.getValue(); in getAMDGPUTargetFeatures() local
380 for (auto &&Feature : getAllPossibleTargetIDFeatures(Triple, GpuArch)) { in getAMDGPUTargetFeatures()
491 const StringRef GpuArch = getGPUArch(DriverArgs); in getDefaultDenormalModeForType() local
492 auto Kind = llvm::AMDGPU::parseArchAMDGCN(GpuArch); in getDefaultDenormalModeForType()
576 const StringRef GpuArch = getGPUArch(DriverArgs); in addClangTargetOptions() local
577 auto Kind = llvm::AMDGPU::parseArchAMDGCN(GpuArch); in addClangTargetOptions()
581 getDriver().Diag(diag::err_drv_no_rocm_device_lib) << 1 << GpuArch; in addClangTargetOptions()
DHIP.cpp250 StringRef GpuArch = getGPUArch(DriverArgs); in addClangTargetOptions() local
251 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()
/external/clang/include/clang/Driver/
DAction.h162 const CudaArch GpuArch; variable
173 CudaArch getGpuArch() const { return GpuArch; } in getGpuArch()
/external/clang/lib/Driver/
DAction.cpp58 : Action(CudaDeviceClass, Input), GpuArch(Arch), AtTopLevel(AtTopLevel) {} in CudaDeviceAction()
DToolChains.cpp1792 StringRef GpuArch = FileName.slice( in init() local
1794 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()