gem5  v20.1.0.0
Public Attributes | List of all members
hsa_agent_dispatch_packet_s Struct Reference

Agent dispatch packet. More...

#include <hsa.h>

Public Attributes

uint16_t header
 Packet header. More...
 
uint16_t type
 Application-defined function to be performed by the destination agent. More...
 
uint32_t reserved0
 Reserved. More...
 
uint32_t reserved1
 
void * return_address
 
uint64_t arg [4]
 Function arguments. More...
 
uint64_t reserved2
 Reserved. More...
 
hsa_signal_t completion_signal
 Signal used to indicate completion of the job. More...
 

Detailed Description

Agent dispatch packet.

Definition at line 2978 of file hsa.h.

Member Data Documentation

◆ arg

uint64_t hsa_agent_dispatch_packet_s::arg[4]

Function arguments.

Definition at line 3014 of file hsa.h.

◆ completion_signal

hsa_signal_t hsa_agent_dispatch_packet_s::completion_signal

Signal used to indicate completion of the job.

The application can use the special signal handle 0 to indicate that no signal is used.

Definition at line 3025 of file hsa.h.

◆ header

uint16_t hsa_agent_dispatch_packet_s::header

Packet header.

Used to configure multiple packet parameters such as the packet type. The parameters are described by hsa_packet_header_t.

Definition at line 2983 of file hsa.h.

◆ reserved0

uint32_t hsa_agent_dispatch_packet_s::reserved0

Reserved.

Must be 0.

Definition at line 2993 of file hsa.h.

◆ reserved1

uint32_t hsa_agent_dispatch_packet_s::reserved1

Definition at line 3007 of file hsa.h.

◆ reserved2

uint64_t hsa_agent_dispatch_packet_s::reserved2

Reserved.

Must be 0.

Definition at line 3019 of file hsa.h.

◆ return_address

void* hsa_agent_dispatch_packet_s::return_address

Definition at line 3008 of file hsa.h.

◆ type

uint16_t hsa_agent_dispatch_packet_s::type

Application-defined function to be performed by the destination agent.

Definition at line 2988 of file hsa.h.


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

Generated on Wed Sep 30 2020 14:02:26 for gem5 by doxygen 1.8.17