Peano
Loading...
Searching...
No Matches
KernelVariants.py
Go to the documentation of this file.
1from enum import Enum
2
3"""!
4
5Target specifies the final architecture that will be used.
6TODO: This file will later include variants to control which MLIR passes are used, and which backends
7
8"""
9class Target(Enum):
10 Serial = 0
11 Multicore = 1
12 Accelerator = 2
13
14class OutputLanguage(Enum):
15 CPP = 0
16 MLIR = 1
17
18class MemoryLayout(Enum):
19 AoS_AllNested = 0
20 AoS_CellDataFlattened_TemporariesNested = 1
21 AoS_CellDataNested_TemporariesFlattened = 2
22 AoS_AllFlattened = 3