AI Engine API User Guide (AIE-API) 2024.1
Loading...
Searching...
No Matches
aie::arch Struct Reference

Structure used to represent the AIE architecture being compiled against. More...

Detailed Description

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(22)
 Represents the current AIE architecture version.
 

Member Enumeration Documentation

◆ ArchVersion

enum aie::arch::ArchVersion : unsigned

An enum defining available AIE architectures.

Enumerator
AIE 
AIE_ML 

Member Function Documentation

◆ is()

template<typename... T>
requires (std::is_same_v<T, ArchVersion> && ...)
static constexpr bool aie::arch::is ( T...  vs)
inlinestaticconstexpr

Checks if the current AIE architecture version against the supplied pack.

Parameters
vsA pack of ArchVersions to test the current version against

Member Data Documentation

◆ version

constexpr ArchVersion aie::arch::version = ArchVersion(22)
staticconstexpr

Represents the current AIE architecture version.


The documentation for this struct was generated from the following file: