gem5 v24.0.0.0
Loading...
Searching...
No Matches
hsa_agent_dispatch_packet_s Struct Reference

Agent dispatch packet. More...

#include <hsa.h>

Public Attributes

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

Detailed Description

Agent dispatch packet.

Definition at line 3012 of file hsa.h.

Member Data Documentation

◆ arg

uint64_t hsa_agent_dispatch_packet_s::arg[4]

Function arguments.

Definition at line 3049 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 3060 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 3018 of file hsa.h.

◆ reserved0

uint32_t hsa_agent_dispatch_packet_s::reserved0

Reserved.

Must be 0.

Definition at line 3028 of file hsa.h.

◆ reserved1

uint32_t hsa_agent_dispatch_packet_s::reserved1

Definition at line 3042 of file hsa.h.

◆ reserved2

uint64_t hsa_agent_dispatch_packet_s::reserved2

Reserved.

Must be 0.

Definition at line 3054 of file hsa.h.

◆ return_address

void* hsa_agent_dispatch_packet_s::return_address

Definition at line 3043 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 3023 of file hsa.h.


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

Generated on Tue Jun 18 2024 16:24:09 for gem5 by doxygen 1.11.0