libhsakmt: correct number of NUMA nodes calculation
numa_max_node() return the highest node number available on the current system, number of NUMA nodes should be numa_max_node() + 1. Change-Id: I20a6c17af071e73e853cb5ea6d0304c8aca52681 Signed-off-by: Philip Yang <Philip.Yang@amd.com>
This commit is contained in:
Reference in New Issue
Block a user