llvm-project/openmp/libomptarget/test/offloading
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
..
bug47654.cpp [Clang][OpenMP] Fixed an issue of segment fault when using target nowait 2020-10-26 22:33:22 -04:00
d2d_memcpy.c [OpenMP][Tests] Enable nvptx64 testing for most libomptarget tests 2020-07-28 11:08:24 +02:00
dynamic_module.c [OpenMP][Tests] Enable nvptx64 testing for most libomptarget tests 2020-07-28 11:08:24 +02:00
dynamic_module_load.c [OpenMP][Tests] Enable nvptx64 testing for most libomptarget tests 2020-07-28 11:08:24 +02:00
info.c [OpenMP] Begin Printing Information Dumps In Libomptarget and Plugins 2020-09-09 12:03:56 -04:00
looptripcnt.c [OpenMP][Tests] Enable nvptx64 testing for most libomptarget tests 2020-07-28 11:08:24 +02:00
memory_manager.cpp [OpenMP] Introduce target memory manager 2020-08-19 23:12:23 -04:00
non_contiguous_update.cpp [libomptarget] Add support for target update non-contiguous 2020-11-19 11:33:27 -06:00
offloading_success.c [OpenMP][Tests] Enable nvptx64 testing for most libomptarget tests 2020-07-28 11:08:24 +02:00
offloading_success.cpp [OpenMP][Tests] Enable nvptx64 testing for most libomptarget tests 2020-07-28 11:08:24 +02:00
parallel_offloading_map.cpp [OpenMP] Fixed an issue in the test case parallel_offloading_map 2020-11-03 15:59:16 -05:00
requires.c [OpenMP][Tests] Enable nvptx64 testing for most libomptarget tests 2020-07-28 11:08:24 +02:00
target_depend_nowait.cpp [OpenMP][Tests] Enable nvptx64 testing for most libomptarget tests 2020-07-28 11:08:24 +02:00