NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
graph_sample_state Struct Reference
Collaboration diagram for graph_sample_state:

Data Fields

struct doca_dev * device
 
struct doca_mmap * mmap
 
struct doca_buf_inventory * inventory
 
struct doca_pe * pe
 
struct doca_ctx * contexts [NUM_DMA_NODES]
 
struct doca_dma * dma [NUM_DMA_NODES]
 
uint8_t * buffer
 
uint8_t * available_buffer
 
struct doca_graph * graph
 
struct doca_graph_node * dma_node [NUM_DMA_NODES]
 
struct doca_graph_node * user_node
 
struct graph_instance_data instances [NUM_GRAPH_INSTANCES]
 
uint32_t num_completed_instances
 

Detailed Description

This struct defines the program context.

Definition at line 110 of file graph_sample.c.

Field Documentation

◆ available_buffer

uint8_t* graph_sample_state::available_buffer

Definition at line 127 of file graph_sample.c.

◆ buffer

uint8_t* graph_sample_state::buffer

Buffer This buffer is used for the source and destination. Real life scenario may use more memory areas.

Definition at line 126 of file graph_sample.c.

◆ contexts

struct doca_ctx* graph_sample_state::contexts[NUM_DMA_NODES]

Definition at line 118 of file graph_sample.c.

◆ device

struct doca_dev* graph_sample_state::device

Resources

Definition at line 114 of file graph_sample.c.

◆ dma

struct doca_dma* graph_sample_state::dma[NUM_DMA_NODES]

Definition at line 119 of file graph_sample.c.

◆ dma_node

struct doca_graph_node* graph_sample_state::dma_node[NUM_DMA_NODES]

Definition at line 135 of file graph_sample.c.

◆ graph

struct doca_graph* graph_sample_state::graph

Graph This section holds the graph and nodes. The nodes are used during instance creation and maintenance.

Definition at line 134 of file graph_sample.c.

◆ instances

struct graph_instance_data graph_sample_state::instances[NUM_GRAPH_INSTANCES]

Definition at line 136 of file graph_sample.c.

◆ inventory

struct doca_buf_inventory* graph_sample_state::inventory

Definition at line 116 of file graph_sample.c.

◆ mmap

struct doca_mmap* graph_sample_state::mmap

Definition at line 115 of file graph_sample.c.

◆ num_completed_instances

uint32_t graph_sample_state::num_completed_instances

Definition at line 141 of file graph_sample.c.

◆ pe

struct doca_pe* graph_sample_state::pe

Definition at line 117 of file graph_sample.c.

◆ user_node

struct doca_graph_node* graph_sample_state::user_node

Definition at line 136 of file graph_sample.c.


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