clang  14.0.0git
Namespaces | Enumerations | Functions
Cuda.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 
 clang
 

Enumerations

enum  clang::CudaVersion {
  clang::CudaVersion::UNKNOWN, clang::CudaVersion::CUDA_70, clang::CudaVersion::CUDA_75, clang::CudaVersion::CUDA_80,
  clang::CudaVersion::CUDA_90, clang::CudaVersion::CUDA_91, clang::CudaVersion::CUDA_92, clang::CudaVersion::CUDA_100,
  clang::CudaVersion::CUDA_101, clang::CudaVersion::CUDA_102, clang::CudaVersion::CUDA_110, clang::CudaVersion::CUDA_111,
  clang::CudaVersion::CUDA_112, clang::CudaVersion::CUDA_113, clang::CudaVersion::CUDA_114, clang::CudaVersion::FULLY_SUPPORTED = CUDA_114,
  clang::CudaVersion::PARTIALLY_SUPPORTED, clang::CudaVersion::NEW = 10000
}
 
enum  clang::CudaArch {
  clang::CudaArch::UNUSED, clang::CudaArch::UNKNOWN, clang::CudaArch::SM_20, clang::CudaArch::SM_21,
  clang::CudaArch::SM_30, clang::CudaArch::SM_32, clang::CudaArch::SM_35, clang::CudaArch::SM_37,
  clang::CudaArch::SM_50, clang::CudaArch::SM_52, clang::CudaArch::SM_53, clang::CudaArch::SM_60,
  clang::CudaArch::SM_61, clang::CudaArch::SM_62, clang::CudaArch::SM_70, clang::CudaArch::SM_72,
  clang::CudaArch::SM_75, clang::CudaArch::SM_80, clang::CudaArch::SM_86, clang::CudaArch::GFX600,
  clang::CudaArch::GFX601, clang::CudaArch::GFX602, clang::CudaArch::GFX700, clang::CudaArch::GFX701,
  clang::CudaArch::GFX702, clang::CudaArch::GFX703, clang::CudaArch::GFX704, clang::CudaArch::GFX705,
  clang::CudaArch::GFX801, clang::CudaArch::GFX802, clang::CudaArch::GFX803, clang::CudaArch::GFX805,
  clang::CudaArch::GFX810, clang::CudaArch::GFX900, clang::CudaArch::GFX902, clang::CudaArch::GFX904,
  clang::CudaArch::GFX906, clang::CudaArch::GFX908, clang::CudaArch::GFX909, clang::CudaArch::GFX90a,
  clang::CudaArch::GFX90c, clang::CudaArch::GFX1010, clang::CudaArch::GFX1011, clang::CudaArch::GFX1012,
  clang::CudaArch::GFX1013, clang::CudaArch::GFX1030, clang::CudaArch::GFX1031, clang::CudaArch::GFX1032,
  clang::CudaArch::GFX1033, clang::CudaArch::GFX1034, clang::CudaArch::GFX1035, clang::CudaArch::LAST
}
 
enum  clang::CudaFeature { clang::CudaFeature::CUDA_USES_NEW_LAUNCH, clang::CudaFeature::CUDA_USES_FATBIN_REGISTER_END }
 

Functions

const char * clang::CudaVersionToString (CudaVersion V)
 
CudaVersion clang::CudaStringToVersion (const llvm::Twine &S)
 
static bool clang::IsNVIDIAGpuArch (CudaArch A)
 
static bool clang::IsAMDGpuArch (CudaArch A)
 
const char * clang::CudaArchToString (CudaArch A)
 
const char * clang::CudaArchToVirtualArchString (CudaArch A)
 
CudaArch clang::StringToCudaArch (llvm::StringRef S)
 
CudaVersion clang::MinVersionForCudaArch (CudaArch A)
 Get the earliest CudaVersion that supports the given CudaArch. More...
 
CudaVersion clang::MaxVersionForCudaArch (CudaArch A)
 Get the latest CudaVersion that supports the given CudaArch. More...
 
CudaVersion clang::ToCudaVersion (llvm::VersionTuple)
 
bool clang::CudaFeatureEnabled (llvm::VersionTuple, CudaFeature)
 
bool clang::CudaFeatureEnabled (CudaVersion, CudaFeature)