Searched refs:CudaVersion (Results 1 – 12 of 12) sorted by relevance
11 const char *CudaVersionToString(CudaVersion V) { in CudaVersionToString()13 case CudaVersion::UNKNOWN: in CudaVersionToString()15 case CudaVersion::CUDA_70: in CudaVersionToString()17 case CudaVersion::CUDA_75: in CudaVersionToString()19 case CudaVersion::CUDA_80: in CudaVersionToString()21 case CudaVersion::CUDA_90: in CudaVersionToString()23 case CudaVersion::CUDA_91: in CudaVersionToString()25 case CudaVersion::CUDA_92: in CudaVersionToString()27 case CudaVersion::CUDA_100: in CudaVersionToString()29 case CudaVersion::CUDA_101: in CudaVersionToString()[all …]
20 enum class CudaVersion { enum35 const char *CudaVersionToString(CudaVersion V);37 CudaVersion CudaStringToVersion(const llvm::Twine &S);104 CudaVersion MinVersionForCudaArch(CudaArch A);107 CudaVersion MaxVersionForCudaArch(CudaArch A);117 CudaVersion ToCudaVersion(llvm::VersionTuple);119 bool CudaFeatureEnabled(CudaVersion, CudaFeature);
9 const char *CudaVersionToString(CudaVersion V) { in CudaVersionToString()11 case CudaVersion::UNKNOWN: in CudaVersionToString()13 case CudaVersion::CUDA_70: in CudaVersionToString()15 case CudaVersion::CUDA_75: in CudaVersionToString()17 case CudaVersion::CUDA_80: in CudaVersionToString()149 CudaVersion MinVersionForCudaArch(CudaArch A) { in MinVersionForCudaArch()152 return CudaVersion::UNKNOWN; in MinVersionForCudaArch()162 return CudaVersion::CUDA_70; in MinVersionForCudaArch()166 return CudaVersion::CUDA_80; in MinVersionForCudaArch()
39 CudaVersion Version;46 return {V.str(), CudaVersion::UNKNOWN}; in parseCudaVersionFile()52 ? CudaVersion::UNKNOWN in parseCudaVersionFile()57 CudaVersion getCudaVersion(uint32_t raw_version) { in getCudaVersion()59 return CudaVersion::CUDA_70; in getCudaVersion()61 return CudaVersion::CUDA_75; in getCudaVersion()63 return CudaVersion::CUDA_80; in getCudaVersion()65 return CudaVersion::CUDA_90; in getCudaVersion()67 return CudaVersion::CUDA_91; in getCudaVersion()69 return CudaVersion::CUDA_92; in getCudaVersion()[all …]
32 CudaVersion Version = CudaVersion::UNKNOWN;65 CudaVersion version() const { return Version; } in version()
4122 if (CTC && CTC->CudaInstallation.version() != CudaVersion::UNKNOWN) in ConstructJob()
19 enum class CudaVersion { enum25 const char *CudaVersionToString(CudaVersion V);73 CudaVersion MinVersionForCudaArch(CudaArch A);
1643 struct CudaVersion { struct1645 explicit CudaVersion(const std::string& version_name) { in CudaVersion() function1656 CudaVersion() {} in CudaVersion() function1657 bool operator<(const CudaVersion& other) const { in operator <() argument1664 const CudaVersion& version) { in operator <<()1672 std::vector<CudaVersion> supported_cuda_compute_capabilities = {1673 CudaVersion("3.5"), CudaVersion("5.2")};1675 std::vector<CudaVersion> GetSupportedCudaComputeCapabilities() { in GetSupportedCudaComputeCapabilities()1689 cuda_caps.push_back(CudaVersion(capability)); in GetSupportedCudaComputeCapabilities()1820 CudaVersion min_supported_capability = *std::min_element( in GetValidDeviceIds()[all …]
167 CudaVersion Version = CudaVersion::UNKNOWN;195 CudaVersion version() const { return Version; } in version()
1728 static CudaVersion ParseCudaVersionFile(llvm::StringRef V) { in ParseCudaVersionFile()1730 return CudaVersion::UNKNOWN; in ParseCudaVersionFile()1737 return CudaVersion::UNKNOWN; in ParseCudaVersionFile()1742 return CudaVersion::CUDA_70; in ParseCudaVersionFile()1745 return CudaVersion::CUDA_75; in ParseCudaVersionFile()1747 return CudaVersion::CUDA_80; in ParseCudaVersionFile()1748 return CudaVersion::UNKNOWN; in ParseCudaVersionFile()1820 Version = CudaVersion::CUDA_70; in init()1832 if (Arch == CudaArch::UNKNOWN || Version == CudaVersion::UNKNOWN || in CheckCudaVersionSupportsArch()
444 ToCudaVersion(CGM.getTarget().getSDKVersion()) >= CudaVersion::CUDA_90) in makeRegisterGlobalsFn()
111 CudaVersion("polly-acc-cuda-version", variable2358 subtarget = CudaVersion; in createKernelASM()