Unverified Commit fe6f137e authored by Johannes Doerfert's avatar Johannes Doerfert Committed by GitHub
Browse files

[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.
parent 61ee9232
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment