clang 20.0.0git
|
ABI version of device library. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Driver/ToolChains/ROCm.h"
Public Member Functions | |
DeviceLibABIVersion (unsigned V) | |
bool | requiresLibrary () |
Whether ABI version bc file is requested. | |
std::string | toString () |
Static Public Member Functions | |
static DeviceLibABIVersion | fromCodeObjectVersion (unsigned CodeObjectVersion) |
Public Attributes | |
unsigned | ABIVersion = 0 |
|
inline |
|
inlinestatic |
Definition at line 29 of file ROCm.h.
Referenced by clang::driver::toolchains::ROCMToolChain::addClangTargetOptions(), and clang::driver::toolchains::ROCMToolChain::getCommonDeviceLibNames().
|
inline |
Whether ABI version bc file is requested.
ABIVersion is code object version multiplied by 100. Code object v4 and below works with ROCm 5.0 and below which does not have abi_version_*.bc. Code object v5 requires abi_version_500.bc.
Definition at line 38 of file ROCm.h.
References ABIVersion.
Referenced by clang::driver::RocmInstallationDetector::checkCommonBitcodeLibs().
|
inline |
Definition at line 39 of file ROCm.h.
References ABIVersion.
Referenced by clang::driver::RocmInstallationDetector::checkCommonBitcodeLibs().
unsigned clang::driver::DeviceLibABIVersion::ABIVersion = 0 |
Definition at line 27 of file ROCm.h.
Referenced by clang::driver::RocmInstallationDetector::getABIVersionPath(), requiresLibrary(), and toString().