59c857476f
On NUMA system, allocate queue ctx save restore area on the closest NUMA node to the GPU which the queue is going to run. This will improve performance on NUMA system generally by reducing schedule latency and fix the multi-node rccl-tests unstable performance issue. If the closest NUMA node has no memory available, set flags NoNUMABind=1 to bypass mbind, to use default NUMA memory policy to allocate system memory. Change-Id: Ic62bfa5bb2efbf4f6ae79ff403e9610ddf18d45c Signed-off-by: Philip Yang <Philip.Yang@amd.com>