struct memory_info
Declaration
struct memory_info { /* full declaration omitted */ };
Description
Information about a single memory in the local system.
Member Variables
- memory_mask copy_peers
- This mask contains a 1-bit for every memory_id that the associated backend queue can copy data from or to directly. instruction_graph_generator expects this mapping to be reflexive, i.e. `system_info::memories[a].copy_peers[b] == system_info::memories[b].copy_peers[a]`. Further, copies must always be possible between `host_memory_id` and `user_memory_id` as well as between `host_memory_id` and every other memory. instruction_graph_generator will create a staging copy in host memory if data must be transferred between two memories that are not copy peers.