[Openmp-commits] [openmp] [libomptarget][OpenMP] Initial implementation of omp_target_memset() and omp_target_memset_async() (PR #68706)

Shilei Tian via Openmp-commits openmp-commits at lists.llvm.org
Tue Oct 10 07:16:20 PDT 2023


================
@@ -312,6 +312,7 @@ int omp_target_memcpy_rect(void *Dst, const void *Src, size_t ElementSize,
                            const size_t *DstDimensions,
                            const size_t *SrcDimensions, int DstDevice,
                            int SrcDevice);
+void *omp_target_memset(void *Ptr, int C, size_t N, int DeviceNum);
----------------
shiltian wrote:

More descriptive argument name for `C` and `N`.

https://github.com/llvm/llvm-project/pull/68706


More information about the Openmp-commits mailing list