hipLaunchAttribute Struct Reference

hipLaunchAttribute Struct Reference#

HIP Runtime API Reference: hipLaunchAttribute Struct Reference
hipLaunchAttribute Struct Reference

#include <hip_runtime_api.h>

Collaboration diagram for hipLaunchAttribute:
[legend]

Data Fields

hipLaunchAttributeID id
 Identifier of the launch attribute.
 
char pad [8 - sizeof(hipLaunchAttributeID)]
 Padding to align the structure to 8 bytes.
 
union { 
 
   hipLaunchAttributeValue   val 
 Value associated with the launch attribute. More...
 
   hipLaunchAttributeValue   value 
 Value associated with the launch attribute. More...
 
};  
 

Detailed Description

Used to specify custom attributes for launching kernels

Field Documentation

◆ [union]

union { ... } hipLaunchAttribute

◆ id

hipLaunchAttributeID hipLaunchAttribute::id

Identifier of the launch attribute.

◆ pad

char hipLaunchAttribute::pad[8 - sizeof(hipLaunchAttributeID)]

Padding to align the structure to 8 bytes.

◆ val

hipLaunchAttributeValue hipLaunchAttribute::val

Value associated with the launch attribute.

◆ value

hipLaunchAttributeValue hipLaunchAttribute::value

Value associated with the launch attribute.


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