================ @@ -280,6 +280,7 @@ int omp_get_initial_device(void); void *omp_target_alloc(size_t Size, int DeviceNum); void omp_target_free(void *DevicePtr, int DeviceNum); int omp_target_is_present(const void *Ptr, int DeviceNum); +int omp_target_is_accessible(const void *Ptr, size_t Size, int DeviceNum); ---------------- jprotze wrote:
Entries in kmp_ftn_entry.h and kmp_ftn_os.h are missing. Check `FTN_TARGET_IS_PRESENT` for reference. @mjklemm at the moment, I cannot successfully compile a program using any of the device memory information routines without `-fopenmp-targets` flag. Is this a bug or feature? https://github.com/llvm/llvm-project/pull/138294 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
