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

AQL kernel dispatch packet. More...

#include <hsa.h>

Public Attributes

uint16_t header
 Packet header. More...
 
uint16_t setup
 Dispatch setup parameters. More...
 
uint16_t workgroup_size_x
 X dimension of work-group, in work-items. More...
 
uint16_t workgroup_size_y
 Y dimension of work-group, in work-items. More...
 
uint16_t workgroup_size_z
 Z dimension of work-group, in work-items. More...
 
uint16_t reserved0
 Reserved. More...
 
uint32_t grid_size_x
 X dimension of grid, in work-items. More...
 
uint32_t grid_size_y
 Y dimension of grid, in work-items. More...
 
uint32_t grid_size_z
 Z dimension of grid, in work-items. More...
 
uint32_t private_segment_size
 Size in bytes of private memory allocation request (per work-item). More...
 
uint32_t group_segment_size
 Size in bytes of group memory allocation request (per work-group). More...
 
uint64_t kernel_object
 Opaque handle to a code object that includes an implementation-defined executable code for the kernel. More...
 
uint32_t reserved1
 
void * kernarg_address
 
uint64_t reserved2
 Reserved. More...
 
hsa_signal_t completion_signal
 Signal used to indicate completion of the job. More...
 

Detailed Description

AQL kernel dispatch packet.

Definition at line 2867 of file hsa.h.

Member Data Documentation

◆ completion_signal

hsa_signal_t hsa_kernel_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 2971 of file hsa.h.

◆ grid_size_x

uint32_t hsa_kernel_dispatch_packet_s::grid_size_x

X dimension of grid, in work-items.

Must be greater than 0. Must not be smaller than workgroup_size_x.

Definition at line 2907 of file hsa.h.

◆ grid_size_y

uint32_t hsa_kernel_dispatch_packet_s::grid_size_y

Y dimension of grid, in work-items.

Must be greater than 0. If the grid has 1 dimension, the only valid value is 1. Must not be smaller than workgroup_size_y.

Definition at line 2914 of file hsa.h.

◆ grid_size_z

uint32_t hsa_kernel_dispatch_packet_s::grid_size_z

Z dimension of grid, in work-items.

Must be greater than 0. If the grid has 1 or 2 dimensions, the only valid value is 1. Must not be smaller than workgroup_size_z.

Definition at line 2921 of file hsa.h.

◆ group_segment_size

uint32_t hsa_kernel_dispatch_packet_s::group_segment_size

Size in bytes of group memory allocation request (per work-group).

Must not be less than the sum of the group memory used by the kernel (and the functions it calls directly or indirectly) and the dynamically allocated group segment variables.

Definition at line 2934 of file hsa.h.

◆ header

uint16_t hsa_kernel_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 2872 of file hsa.h.

◆ kernarg_address

void* hsa_kernel_dispatch_packet_s::kernarg_address

Definition at line 2959 of file hsa.h.

◆ kernel_object

uint64_t hsa_kernel_dispatch_packet_s::kernel_object

Opaque handle to a code object that includes an implementation-defined executable code for the kernel.

Definition at line 2940 of file hsa.h.

◆ private_segment_size

uint32_t hsa_kernel_dispatch_packet_s::private_segment_size

Size in bytes of private memory allocation request (per work-item).

Definition at line 2926 of file hsa.h.

◆ reserved0

uint16_t hsa_kernel_dispatch_packet_s::reserved0

Reserved.

Must be 0.

Definition at line 2901 of file hsa.h.

◆ reserved1

uint32_t hsa_kernel_dispatch_packet_s::reserved1

Definition at line 2958 of file hsa.h.

◆ reserved2

uint64_t hsa_kernel_dispatch_packet_s::reserved2

Reserved.

Must be 0.

Definition at line 2965 of file hsa.h.

◆ setup

uint16_t hsa_kernel_dispatch_packet_s::setup

Dispatch setup parameters.

Used to configure kernel dispatch parameters such as the number of dimensions in the grid. The parameters are described by hsa_kernel_dispatch_packet_setup_t.

Definition at line 2879 of file hsa.h.

◆ workgroup_size_x

uint16_t hsa_kernel_dispatch_packet_s::workgroup_size_x

X dimension of work-group, in work-items.

Must be greater than 0.

Definition at line 2884 of file hsa.h.

◆ workgroup_size_y

uint16_t hsa_kernel_dispatch_packet_s::workgroup_size_y

Y dimension of work-group, in work-items.

Must be greater than 0. If the grid has 1 dimension, the only valid value is 1.

Definition at line 2890 of file hsa.h.

◆ workgroup_size_z

uint16_t hsa_kernel_dispatch_packet_s::workgroup_size_z

Z dimension of work-group, in work-items.

Must be greater than 0. If the grid has 1 or 2 dimensions, the only valid value is 1.

Definition at line 2896 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