SIGN IN SIGN UP

UCP/UCT/UCS: Add memory registration flags (#11553)

* UCP/UCT/UCS: Add memory registration flags

Add memory flags to UCS memory information and propagate them through UCT mem_query_v2 so providers can report whether a memory region is safe to register.

Use the CAN_REGISTER flag in UCP memory registration and protocol selection paths to avoid selecting registration-dependent protocols for non-registerable memory. Mark CUDA async allocations classified as CUDA managed as non-registerable, and require CAN_REGISTER for IB memory domains that need registration.

Add focused gtests for memtype cache flag handling, IB registration failure for CUDA async memory, and UCP protocol filtering.
T
tomerg-nvidia committed
b6b85316590d977f93ffb8f4318f39296fe2e30d
Parent: 221e743
Committed by GitHub <noreply@github.com> on 6/23/2026, 4:28:35 PM