|
MLIR 24.0.0git
|
Offload-specific OpenMP module attributes, associated to the OffloadModuleInterface. More...
#include "mlir/Dialect/OpenMP/Utils/Utils.h"
Public Member Functions | |
| OffloadModuleOpts ()=default | |
| OffloadModuleOpts (uint32_t targetDebugKind, bool assumeTeamsOversubscription, bool assumeThreadsOversubscription, bool assumeNoThreadState, bool assumeNoNestedParallelism, bool isTargetDevice, bool isGPU, bool forceUSM, uint32_t openMPDeviceVersion, const Twine &hostIRFile, ArrayRef< llvm::Triple > targetTriples={}, bool noGPULib=false) | |
Public Attributes | |
| uint32_t | targetDebugKind = 0 |
| bool | assumeTeamsOversubscription = false |
| bool | assumeThreadsOversubscription = false |
| bool | assumeNoThreadState = false |
| bool | assumeNoNestedParallelism = false |
| bool | isTargetDevice = false |
| bool | isGPU = false |
| bool | forceUSM = false |
| uint32_t | openMPDeviceVersion = 31 |
| std::string | hostIRFile = {} |
| std::vector< llvm::Triple > | targetTriples = {} |
| bool | noGPULib = false |
Offload-specific OpenMP module attributes, associated to the OffloadModuleInterface.
|
default |
|
inline |
Definition at line 31 of file Utils.h.
References assumeNoNestedParallelism, assumeNoThreadState, assumeTeamsOversubscription, assumeThreadsOversubscription, forceUSM, hostIRFile, isGPU, isTargetDevice, openMPDeviceVersion, targetDebugKind, and targetTriples.
Definition at line 52 of file Utils.h.
Referenced by OffloadModuleOpts(), and mlir::omp::setOffloadModuleInterfaceAttributes().
Definition at line 51 of file Utils.h.
Referenced by OffloadModuleOpts(), and mlir::omp::setOffloadModuleInterfaceAttributes().
Definition at line 49 of file Utils.h.
Referenced by OffloadModuleOpts(), and mlir::omp::setOffloadModuleInterfaceAttributes().
Definition at line 50 of file Utils.h.
Referenced by OffloadModuleOpts(), and mlir::omp::setOffloadModuleInterfaceAttributes().
Definition at line 55 of file Utils.h.
Referenced by OffloadModuleOpts(), and mlir::omp::setOffloadModuleInterfaceAttributes().
| std::string mlir::omp::OffloadModuleOpts::hostIRFile = {} |
Definition at line 57 of file Utils.h.
Referenced by OffloadModuleOpts(), and mlir::omp::setOffloadModuleInterfaceAttributes().
Definition at line 54 of file Utils.h.
Referenced by OffloadModuleOpts(), and mlir::omp::setOffloadModuleInterfaceAttributes().
Definition at line 53 of file Utils.h.
Referenced by OffloadModuleOpts(), and mlir::omp::setOffloadModuleInterfaceAttributes().
Definition at line 59 of file Utils.h.
Referenced by mlir::omp::setOffloadModuleInterfaceAttributes().
| uint32_t mlir::omp::OffloadModuleOpts::openMPDeviceVersion = 31 |
Definition at line 56 of file Utils.h.
Referenced by OffloadModuleOpts(), and mlir::omp::setOffloadModuleInterfaceAttributes().
| uint32_t mlir::omp::OffloadModuleOpts::targetDebugKind = 0 |
Definition at line 48 of file Utils.h.
Referenced by OffloadModuleOpts(), and mlir::omp::setOffloadModuleInterfaceAttributes().
| std::vector<llvm::Triple> mlir::omp::OffloadModuleOpts::targetTriples = {} |
Definition at line 58 of file Utils.h.
Referenced by OffloadModuleOpts(), and mlir::omp::setOffloadModuleInterfaceAttributes().