hsa_amd_barrier_value_packet_t Struct Reference

hsa_amd_barrier_value_packet_t Struct Reference#

HIP Runtime API Reference: hsa_amd_barrier_value_packet_t Struct Reference
hsa_amd_barrier_value_packet_t Struct Reference

AMD barrier value packet. Halts packet processing and waits for (signal_value & mask) cond value to be satisfied, where signal_value is the value of the signal signal. More...

#include <hsa_ext_amd.h>

Collaboration diagram for hsa_amd_barrier_value_packet_t:
[legend]

Data Fields

hsa_amd_vendor_packet_header_t header
 
uint32_t reserved0
 
hsa_signal_t signal
 
hsa_signal_value_t value
 
hsa_signal_value_t mask
 
hsa_signal_condition32_t cond
 
uint32_t reserved1
 
uint64_t reserved2
 
uint64_t reserved3
 
hsa_signal_t completion_signal
 

Detailed Description

AMD barrier value packet. Halts packet processing and waits for (signal_value & mask) cond value to be satisfied, where signal_value is the value of the signal signal.

Field Documentation

◆ completion_signal

hsa_signal_t hsa_amd_barrier_value_packet_t::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.

◆ cond

hsa_signal_condition32_t hsa_amd_barrier_value_packet_t::cond

Comparison operation. See ::hsa_signal_condition_t.

◆ header

hsa_amd_vendor_packet_header_t hsa_amd_barrier_value_packet_t::header

AMD vendor specific packet header.

◆ mask

hsa_signal_value_t hsa_amd_barrier_value_packet_t::mask

Bit mask to be combined by bitwise AND with signal's value.

◆ reserved0

uint32_t hsa_amd_barrier_value_packet_t::reserved0

Reserved. Must be 0.

◆ reserved1

uint32_t hsa_amd_barrier_value_packet_t::reserved1

Reserved. Must be 0.

◆ reserved2

uint64_t hsa_amd_barrier_value_packet_t::reserved2

Reserved. Must be 0.

◆ reserved3

uint64_t hsa_amd_barrier_value_packet_t::reserved3

Reserved. Must be 0.

◆ signal

hsa_signal_t hsa_amd_barrier_value_packet_t::signal

Dependent signal object. A signal with a handle value of 0 is allowed and is interpreted by the packet processor a satisfied dependency.

◆ value

hsa_signal_value_t hsa_amd_barrier_value_packet_t::value

Value to compare against.


The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/ROCR-Runtime/src/inc/hsa_ext_amd.h