Closed spophale closed 4 months ago
I see that the same problem with Cray compiler on NVIDIA GPU system. While nvc, and gcc have not implemented mapper (it seems). I would suggest to change the double to int, so we can compare equality without the problems that could happen with floating point numbers.
closes #817
This resolves the missing data issue. But the test fails with both LLVM clang and amdclang as neither account for the stride specified in the target update.
Example:
#pragma omp target update from(s.data[:N/2:2]) //only update even array elements
Results in: