hipLaunchAttributeValue Union Reference

hipLaunchAttributeValue Union Reference#

HIP Runtime API Reference: hipLaunchAttributeValue Union Reference
hipLaunchAttributeValue Union Reference

#include <hip_runtime_api.h>

Collaboration diagram for hipLaunchAttributeValue:

Data Fields

char pad [64]
 64 byte padding
 
hipAccessPolicyWindow accessPolicyWindow
 Value of launch attribute hipLaunchAttributeAccessPolicyWindow.
 
int cooperative
 
int priority
 
hipSynchronizationPolicy syncPolicy
 
hipLaunchMemSyncDomainMap memSyncDomainMap
 Value of launch attribute hipLaunchAttributeMemSyncDomainMap.
 
hipLaunchMemSyncDomain memSyncDomain
 Value of launch attribute hipLaunchAttributeMemSyncDomain.
 
struct { 
 
   unsigned int   x 
 
   unsigned int   y 
 
   unsigned int   z 
 
clusterDim 
 Specifies the desired cluster dimensions for a kernel launch.
 
hipClusterSchedulingPolicy clusterSchedulingPolicyPreference
 

Detailed Description

Launch Attribute Value

Field Documentation

◆ accessPolicyWindow

hipAccessPolicyWindow hipLaunchAttributeValue::accessPolicyWindow

Value of launch attribute hipLaunchAttributeAccessPolicyWindow.

◆ [struct]

struct { ... } hipLaunchAttributeValue::clusterDim

Specifies the desired cluster dimensions for a kernel launch.

This opaque type is used as the value for the launch attribute hipLaunchAttributeClusterDimension. It defines the dimensions of the compute cluster in terms of blocks, where each field must evenly divide the corresponding grid dimension:

  • x: Number of blocks along the X-axis.
  • y: Number of blocks along the Y-axis.
  • z: Number of blocks along the Z-axis.

◆ clusterSchedulingPolicyPreference

hipClusterSchedulingPolicy hipLaunchAttributeValue::clusterSchedulingPolicyPreference

Value of launch attribute :: hipLaunchAttributeClusterSchedulingPolicyPreference determines the preferred strategy for distributing blocks within a compute cluster

◆ cooperative

int hipLaunchAttributeValue::cooperative

Value of launch attribute hipLaunchAttributeCooperative. Indicates whether the kernel is cooperative.

◆ memSyncDomain

hipLaunchMemSyncDomain hipLaunchAttributeValue::memSyncDomain

Value of launch attribute hipLaunchAttributeMemSyncDomain.

◆ memSyncDomainMap

hipLaunchMemSyncDomainMap hipLaunchAttributeValue::memSyncDomainMap

Value of launch attribute hipLaunchAttributeMemSyncDomainMap.

◆ pad

char hipLaunchAttributeValue::pad[64]

64 byte padding

◆ priority

int hipLaunchAttributeValue::priority

Value of launch attribute :: hipLaunchAttributePriority. Execution priority of kernel

◆ syncPolicy

hipSynchronizationPolicy hipLaunchAttributeValue::syncPolicy

Value of launch attribute :: hipLaunchAttributeSynchronizationPolicy. Used to work queued up in stream

◆ x

unsigned int hipLaunchAttributeValue::x

◆ y

unsigned int hipLaunchAttributeValue::y

◆ z

unsigned int hipLaunchAttributeValue::z

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