[Chapel Merge] Fix the ugni transfer extent check when the cache

Branch: refs/heads/main
Revision: 3be216b
Author: ronawho
Link: Fix the ugni transfer extent check when the cache is enabled by ronawho · Pull Request #19516 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19516 from ronawho/fix-ugni-mr-extent-check

Fix the ugni transfer extent check when the cache is enabled

Previously, we were assuming that cache could only read to the end of a
cacheline, but it can actually read to the end of a chpl cachepage, so
adjust here to take that into account.

Resolves Cray/chapel-private#3203

Modified Files:
M runtime/include/chpl-cache.h

M runtime/src/chpl-cache.c
M runtime/src/comm/ugni/comm-ugni.c

Compare: https://github.com/chapel-lang/chapel/compare/a6ffede233ef...3be216bed7d6