struct DeviceLibABIVersion
Declaration
struct DeviceLibABIVersion { /* full declaration omitted */ };
Description
ABI version of device library.
Declared at: clang/lib/Driver/ToolChains/ROCm.h:26
Member Variables
- public unsigned int ABIVersion = 0
Method Overview
- public DeviceLibABIVersion(unsigned int V)
- public static clang::driver::DeviceLibABIVersion fromCodeObjectVersion(unsigned int CodeObjectVersion)
- public bool requiresLibrary()
- public std::string toString()
Methods
¶DeviceLibABIVersion(unsigned int V)
DeviceLibABIVersion(unsigned int V)
Declared at: clang/lib/Driver/ToolChains/ROCm.h:28
Parameters
- unsigned int V
¶static clang::driver::DeviceLibABIVersion
fromCodeObjectVersion(
unsigned int CodeObjectVersion)
static clang::driver::DeviceLibABIVersion
fromCodeObjectVersion(
unsigned int CodeObjectVersion)
Declared at: clang/lib/Driver/ToolChains/ROCm.h:29
Parameters
- unsigned int CodeObjectVersion
¶bool requiresLibrary()
bool requiresLibrary()
Description
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.
Declared at: clang/lib/Driver/ToolChains/ROCm.h:38
¶std::string toString()
std::string toString()
Declared at: clang/lib/Driver/ToolChains/ROCm.h:39