kfdtest: use flag NoNUMABind for more test cases

If NUMA system no available memory on node 0, mbind will fail on node
0, so set flag NoNUMABind=1 to bypass mbind for all test cases which use
node 0 and allocate system memory.

Change-Id: I7962938ad2bed5a293ca5e6a8500c7f7e15ff453
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Этот коммит содержится в:
Philip Yang
2019-11-06 18:33:46 -05:00
родитель 59c857476f
Коммит 2fa7d23a82
2 изменённых файлов: 6 добавлений и 1 удалений
+1
Просмотреть файл
@@ -199,6 +199,7 @@ HsaMemoryBuffer::HsaMemoryBuffer(HSAuint64 size, unsigned int node, bool zero, b
m_Flags.ui32.HostAccess = 1;
m_Flags.ui32.NonPaged = 0;
m_Flags.ui32.CoarseGrain = 0;
m_Flags.ui32.NoNUMABind = 1;
}
if (isExec)