LLVM 20.0.0git
Public Attributes | List of all members
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
 

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 2239 of file OMPIRBuilder.h.

Member Data Documentation

◆ ExecFlags

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

Definition at line 2240 of file OMPIRBuilder.h.

Referenced by createOutlinedFunction().

◆ MaxTeams

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

Definition at line 2242 of file OMPIRBuilder.h.

◆ MaxThreads

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

Definition at line 2244 of file OMPIRBuilder.h.

◆ MinTeams

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

Definition at line 2243 of file OMPIRBuilder.h.

◆ MinThreads

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

Definition at line 2245 of file OMPIRBuilder.h.


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