[llvm-branch-commits] [mlir] [MLIR][OpenMP] Assert on map translation functions, NFC (PR #137199)
Pranav Bhandarkar via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Apr 29 11:52:11 PDT 2025
================
@@ -3623,6 +3623,9 @@ static llvm::omp::OpenMPOffloadMappingFlags mapParentWithMembers(
LLVM::ModuleTranslation &moduleTranslation, llvm::IRBuilderBase &builder,
llvm::OpenMPIRBuilder &ompBuilder, DataLayout &dl, MapInfosTy &combinedInfo,
MapInfoData &mapData, uint64_t mapDataIndex, bool isTargetParams) {
+ assert(!ompBuilder.Config.isTargetDevice() &&
+ "function only supported for host device codegen");
----------------
bhandarkar-pranav wrote:
Ok, i just saw your diagram and I see "host device" is something. I'll just wait for you to correct me at this point ;-)
https://github.com/llvm/llvm-project/pull/137199
More information about the llvm-branch-commits
mailing list