Does CPU CAS work correctly with RDMA CAS?

Hi, I am currently using Mellanox ConnectX-5 for RDMA and have a question. I’m wondering if there is guaranteed atomicity between CPU CAS and RDMA CAS?
Thanks!