ucx
ucx copied to clipboard
EXAMPLES: Fix ucp_client_server AM completion handling
What
Make sure ucp_client_server
always completes with -c am
option.
Why ?
AM callback can be invoked multiple times inside a given iteration.
Related: #9694
How ?
Use overall count tracking instead of edge tracking.
Tests
- rock, rndv thresh
- loopback
./examples/ucp_client_server -c am -i 10000 -s 10000
./examples/ucp_client_server -c am -i 10000 -s 10000 -a X.X.X.X