LLVM 22.0.0git
llvm::OpenMPIRBuilder::TargetKernelDefaultAttrs Struct Reference

Container to pass the default attributes with which a kernel must be launched, used to set kernel attributes and populate associated static structures. More...

#include "llvm/Frontend/OpenMP/OMPIRBuilder.h"

Public Attributes

omp::OMPTgtExecModeFlags ExecFlags
SmallVector< int32_t, 3 > MaxTeams = {-1}
int32_t MinTeams = 1
SmallVector< int32_t, 3 > MaxThreads = {-1}
int32_t MinThreads = 1
int32_t ReductionDataSize = 0
int32_t ReductionBufferLength = 0

Detailed Description

Container to pass the default attributes with which a kernel must be launched, used to set kernel attributes and populate associated static structures.

For max values, < 0 means unset, == 0 means set but unknown at compile time. The number of max values will be 1 except for the case where ompx_bare is set.

Definition at line 2587 of file OMPIRBuilder.h.

Member Data Documentation

◆ ExecFlags

omp::OMPTgtExecModeFlags llvm::OpenMPIRBuilder::TargetKernelDefaultAttrs::ExecFlags
Initial value:

Definition at line 2588 of file OMPIRBuilder.h.

Referenced by createOutlinedFunction().

◆ MaxTeams

SmallVector<int32_t, 3> llvm::OpenMPIRBuilder::TargetKernelDefaultAttrs::MaxTeams = {-1}

Definition at line 2590 of file OMPIRBuilder.h.

Referenced by emitTargetCall().

◆ MaxThreads

SmallVector<int32_t, 3> llvm::OpenMPIRBuilder::TargetKernelDefaultAttrs::MaxThreads = {-1}

Definition at line 2592 of file OMPIRBuilder.h.

◆ MinTeams

int32_t llvm::OpenMPIRBuilder::TargetKernelDefaultAttrs::MinTeams = 1

Definition at line 2591 of file OMPIRBuilder.h.

◆ MinThreads

int32_t llvm::OpenMPIRBuilder::TargetKernelDefaultAttrs::MinThreads = 1

Definition at line 2593 of file OMPIRBuilder.h.

◆ ReductionBufferLength

int32_t llvm::OpenMPIRBuilder::TargetKernelDefaultAttrs::ReductionBufferLength = 0

Definition at line 2595 of file OMPIRBuilder.h.

◆ ReductionDataSize

int32_t llvm::OpenMPIRBuilder::TargetKernelDefaultAttrs::ReductionDataSize = 0

Definition at line 2594 of file OMPIRBuilder.h.


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