[all-commits] [llvm/llvm-project] fe6f13: [OpenMP][NFC] Move mapping related code into OpenM...
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Tue Dec 12 12:50:00 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fe6f137e48ceee094d0fa42ca54c7e1226b45fde
https://github.com/llvm/llvm-project/commit/fe6f137e48ceee094d0fa42ca54c7e1226b45fde
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2023-12-12 (Tue, 12 Dec 2023)
Changed paths:
M openmp/libomptarget/include/ExclusiveAccess.h
M openmp/libomptarget/include/OpenMP/Mapping.h
M openmp/libomptarget/include/device.h
M openmp/libomptarget/src/OpenMP/API.cpp
M openmp/libomptarget/src/OpenMP/Mapping.cpp
M openmp/libomptarget/src/device.cpp
M openmp/libomptarget/src/omptarget.cpp
Log Message:
-----------
[OpenMP][NFC] Move mapping related code into OpenMP/Mapping.cpp (#75239)
DeviceTy provides an abstraction for "middle-level" operations that can
be done with a offload device. Mapping was tied into it but is not
strictly necessary. Other languages do not track mapping, and even
OpenMP can be used completely without mapping. This simply moves the
relevant code into the OpenMP/Mapping.cpp as part of a new class
MappingInfoTy. Each device still has one, but it does not clutter the
device.cpp anymore.
More information about the All-commits
mailing list