clang 22.0.0git
|
ABI version of device library. More...
#include "clang/Driver/RocmInstallationDetector.h"
Public Member Functions | |
DeviceLibABIVersion (unsigned V) | |
bool | requiresLibrary () |
Whether ABI version bc file is requested. | |
std::string | toString () |
unsigned | getAsCodeObjectVersion () const |
Static Public Member Functions | |
static DeviceLibABIVersion | fromCodeObjectVersion (unsigned CodeObjectVersion) |
Public Attributes | |
unsigned | ABIVersion = 0 |
ABI version of device library.
Definition at line 18 of file RocmInstallationDetector.h.
|
inline |
Definition at line 20 of file RocmInstallationDetector.h.
References ABIVersion, and V.
Referenced by fromCodeObjectVersion().
|
inlinestatic |
Definition at line 21 of file RocmInstallationDetector.h.
References DeviceLibABIVersion().
Referenced by clang::driver::toolchains::ROCMToolChain::addClangTargetOptions(), and clang::driver::toolchains::ROCMToolChain::getCommonDeviceLibNames().
|
inline |
Definition at line 33 of file RocmInstallationDetector.h.
References ABIVersion.
Referenced by clang::driver::RocmInstallationDetector::checkCommonBitcodeLibs(), and toString().
|
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 30 of file RocmInstallationDetector.h.
References ABIVersion.
Referenced by clang::driver::RocmInstallationDetector::checkCommonBitcodeLibs().
|
inline |
Definition at line 31 of file RocmInstallationDetector.h.
References getAsCodeObjectVersion().
Referenced by clang::driver::RocmInstallationDetector::checkCommonBitcodeLibs().
unsigned clang::driver::DeviceLibABIVersion::ABIVersion = 0 |
Definition at line 19 of file RocmInstallationDetector.h.
Referenced by DeviceLibABIVersion(), clang::driver::RocmInstallationDetector::getABIVersionPath(), getAsCodeObjectVersion(), and requiresLibrary().