Searched refs:CudaVersion (Results 1 – 7 of 7) sorted by relevance
12 CudaVersion Version;17 #major "." #minor, CudaVersion::CUDA_##major##minor, \46 {"", CudaVersion::NEW, llvm::VersionTuple(std::numeric_limits<int>::max())},47 {"unknown", CudaVersion::UNKNOWN, {}} // End of list tombstone.51 const char *CudaVersionToString(CudaVersion V) { in CudaVersionToString()52 for (auto *I = CudaNameVersionMap; I->Version != CudaVersion::UNKNOWN; ++I) in CudaVersionToString()56 return CudaVersionToString(CudaVersion::UNKNOWN); in CudaVersionToString()59 CudaVersion CudaStringToVersion(const llvm::Twine &S) { in CudaStringToVersion()61 for (auto *I = CudaNameVersionMap; I->Version != CudaVersion::UNKNOWN; ++I) in CudaStringToVersion()64 return CudaVersion::UNKNOWN; in CudaStringToVersion()[all …]
40 CudaVersion getCudaVersion(uint32_t raw_version) { in getCudaVersion()42 return CudaVersion::CUDA_70; in getCudaVersion()44 return CudaVersion::CUDA_75; in getCudaVersion()46 return CudaVersion::CUDA_80; in getCudaVersion()48 return CudaVersion::CUDA_90; in getCudaVersion()50 return CudaVersion::CUDA_91; in getCudaVersion()52 return CudaVersion::CUDA_92; in getCudaVersion()54 return CudaVersion::CUDA_100; in getCudaVersion()56 return CudaVersion::CUDA_101; in getCudaVersion()58 return CudaVersion::CUDA_102; in getCudaVersion()[all …]
31 CudaVersion Version = CudaVersion::UNKNOWN;61 CudaVersion version() const { in version()62 return Version == CudaVersion::NEW ? CudaVersion::PARTIALLY_SUPPORTED in version()
5018 if (CTC && CTC->CudaInstallation.version() != CudaVersion::UNKNOWN) in ConstructJob()5027 if (CTC->CudaInstallation.version() >= CudaVersion::CUDA_90) in ConstructJob()
20 enum class CudaVersion { enum51 const char *CudaVersionToString(CudaVersion V);53 CudaVersion CudaStringToVersion(const llvm::Twine &S);164 CudaVersion MinVersionForOffloadArch(OffloadArch A);167 CudaVersion MaxVersionForOffloadArch(OffloadArch A);177 CudaVersion ToCudaVersion(llvm::VersionTuple);179 bool CudaFeatureEnabled(CudaVersion, CudaFeature);
590 ToCudaVersion(CGM.getTarget().getSDKVersion()) >= CudaVersion::CUDA_90) in makeRegisterGlobalsFn()
1669 CudaVersion Version = in handleAliasAttr()1671 if (Version != CudaVersion::UNKNOWN && Version < CudaVersion::CUDA_100) in handleAliasAttr()