#include "clang/Basic/Cuda.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/VersionTuple.h"
Go to the source code of this file.
|
namespace | clang |
| The JSON file list parser is used to communicate input to InstallAPI.
|
|
|
#define | CUDA_ENTRY(major, minor) |
|
#define | SM2(sm, ca) {OffloadArch::SM_##sm, "sm_" #sm, ca} |
|
#define | SM(sm) SM2(sm, "compute_" #sm) |
|
#define | GFX(gpu) {OffloadArch::GFX##gpu, "gfx" #gpu, "compute_amdgcn"} |
|
◆ CUDA_ENTRY
#define CUDA_ENTRY |
( |
|
major, |
|
|
|
minor |
|
) |
| |
Value: { \
#major "." #minor, CudaVersion::CUDA_##major##minor, \
llvm::VersionTuple(major, minor) \
}
Definition at line 15 of file Cuda.cpp.
◆ GFX
#define GFX |
( |
|
gpu | ) |
{OffloadArch::GFX##gpu, "gfx" #gpu, "compute_amdgcn"} |
◆ SM
#define SM |
( |
|
sm | ) |
SM2(sm, "compute_" #sm) |
◆ SM2
#define SM2 |
( |
|
sm, |
|
|
|
ca |
|
) |
| {OffloadArch::SM_##sm, "sm_" #sm, ca} |
◆ arch
◆ arch_name
◆ virtual_arch_name
const char* virtual_arch_name |