AI Engine API User Guide (AIE) 2023.2
|
Structure used to represent the AIE architecture being compiled against. More...
Structure used to represent the AIE architecture being compiled against.
#include <config.hpp>
Public Types | |
enum | ArchVersion : unsigned { AIE = 10 , AIE_ML = 20 } |
An enum defining available AIE architectures. More... | |
Static Public Member Functions | |
template<typename... T> requires (std::is_same_v<T, ArchVersion> && ...) | |
static constexpr bool | is (T... vs) |
Checks if the current AIE architecture version against the supplied pack. | |
Static Public Attributes | |
static constexpr ArchVersion | version = ArchVersion(__AIE_ARCH__) |
Represents the current AIE architecture version. | |
enum aie::arch::ArchVersion : unsigned |
|
inlinestaticconstexpr |
Checks if the current AIE architecture version against the supplied pack.
vs | A pack of ArchVersions to test the current version against |
|
staticconstexpr |
Represents the current AIE architecture version.