RaviNarayanaswamy
RaviNarayanaswamy
Even though target data maps 1 element of arr at offset 998., the present check on arr should return true.
What I am saying is that arr has a corresponding storage on the device. Not all memory of host is present on device and is an error accessing them. Can...
What should omp_get_mapped_ptr(arr, dev) return? return the associated arr pointer on the device What should omp_target_is_accessible(arr, 1, dev) return? Surely false. Yes false What should omp_target_is_accessible(arr, 0, dev) return? true
The way I look at it is that if you specify a size for omp_target_is_accessible then the runtime checks if that size is allocated on the device then return true,...