llvm-project/openmp/libomptarget/test
cchen 7036fe8a0c [libomptarget] Add support for target update non-contiguous
This patch is the runtime support for https://reviews.llvm.org/D84192.

In order not to modify the tgt_target_data_update information but still be
able to pass the extra information for non-contiguous map item (offset,
count, and stride for each dimension), this patch overload arg when
the maptype is set as OMP_TGT_MAPTYPE_DESCRIPTOR. The origin arg is for
passing the pointer information, however, the overloaded arg is an
array of descriptor_dim:

```
struct descriptor_dim {
  int64_t offset;
  int64_t count;
  int64_t stride
};
```

and the array size is the dimension size. In addition, since we
have count and stride information in descriptor_dim, we can replace/overload the
arg_size parameter by using dimension size.

Reviewed By: grokos, tianshilei1992

Differential Revision: https://reviews.llvm.org/D82245
2020-11-19 11:33:27 -06:00
..
api [OpenMP][Offloading] Fix the issue that omp_get_num_devices returns wrong number of devices, by Shiley Tian. 2020-01-21 13:25:18 -05:00
env [OPENMP]Fix PR46824: Global declare target pointer cannot be accessed in target region. 2020-07-30 11:18:33 -04:00
mapping [libomptarget] Fix copy-to motion for PTR_AND_OBJ entries where PTR is a struct member. 2020-10-16 16:14:01 -07:00
offloading [libomptarget] Add support for target update non-contiguous 2020-11-19 11:33:27 -06:00
unified_shared_memory [OpenMP][libomptarget][Tests] fix failing test 2020-11-03 13:15:33 +01:00
CMakeLists.txt [OpenMP] build offload plugins before testing them 2019-11-28 17:43:56 -05:00
lit.cfg [OpenMP] Fix libomptarget negative tests to expect abort 2020-07-28 09:02:16 -04:00
lit.site.cfg.in [OpenMP] Add scaffolding for negative runtime tests 2020-04-21 17:10:50 -04:00