commit | 227188ef462de2c295dd0f224ca53c287f19270f | [log] [tgz] |
---|---|---|
author | George Rokos <georgios.rokos@intel.com> | Wed Mar 03 11:48:32 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Mar 18 05:45:41 2021 -0700 |
tree | dfc755ed45747e8a7ec61989bf4fc39555b548ee | |
parent | d323554c2c5fdb43e2a7c66db17609a187d60190 [diff] |
[libomptarget] Add allocator support for target memory This patch adds the infrastructure for allocator support for target memory. Three allocators are introduced for device, host and shared memory. The corresponding API functions have the llvm_ prefix temporarily, until they become part of the OpenMP standard. Differential Revision: https://reviews.llvm.org/D97883 GitOrigin-RevId: 2468fdd9af361cb46d02d00a52e87067e7078127