compiler.device.schema ≡
Compiler data types for device configuration.
const auto schema_version = 1 §source
enum MemoryType : uint3 §source
Device memory types
struct MemoryResource §source
Specifies the number of each type of RAM provide by a device
Fields
-
MemoryType type_id §source
Type of memory resource
-
uint32 num_available §source
Number of the memory resources available. 0 here means compiler will not enforce a limit.
struct MemoryConfiguration §source
RAM types and configurations supported by the device
Fields
-
MemoryType type_id §source
Type of memory resource
-
float32 cost §source
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 §source
Width of the memory resource
-
uint16 depth §source
Depth of the memory resource
enum MemoryInitFileType : uint2 §source