compiler.device.schema ≡
Compiler data types for device configuration.
const auto schema_version = 1 §
enum MemoryType : uint3 §
Device memory types
struct MemoryResource §
Specifies the number of each type of RAM provide by a device
Fields
-
MemoryType type_id §
Type of memory resource
-
uint32 num_available §
Number of the memory resources available. 0 here means compiler will not enforce a limit.
struct MemoryConfiguration §
RAM types and configurations supported by the device
Fields
-
MemoryType type_id §
Type of memory resource
-
float32 cost §
Cost of the memory resource. Used in a comparison with array cost to determine whether to use an array (soft logic) or a physical memory
-
uint16 width §
Width of the memory resource
-
uint16 depth §
Depth of the memory resource
enum MemoryInitFileType : uint2 §