Commit 3885404f authored by Chenggang Zhao's avatar Chenggang Zhao
Browse files

Add `NVSHMEM_IB_ENABLE_RELAXED_ORDERING`

parent 45f481b8
...@@ -79,6 +79,9 @@ class Buffer: ...@@ -79,6 +79,9 @@ class Buffer:
# NOTES: NVSHMEM initialization requires at least 256 MiB # NOTES: NVSHMEM initialization requires at least 256 MiB
os.environ['NVSHMEM_CUMEM_GRANULARITY'] = f'{2 ** 29}' os.environ['NVSHMEM_CUMEM_GRANULARITY'] = f'{2 ** 29}'
# Disable PCIe relaxed ordering to avoid out-of-order messages
os.environ['NVSHMEM_IB_ENABLE_RELAXED_ORDERING'] = '0'
# NOTES: make sure AR (Adaptive Routing) is turned off while running normal kernels, as we cannot verify AR status in the code # NOTES: make sure AR (Adaptive Routing) is turned off while running normal kernels, as we cannot verify AR status in the code
# Synchronize using the root ID # Synchronize using the root ID
nvshmem_unique_ids = [None, ] * self.group_size nvshmem_unique_ids = [None, ] * self.group_size
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment