few changed

This commit is contained in:
Youmu Liu
2026-04-08 18:21:00 +08:00
parent 9fb08b672d
commit 0bad6bb480
4 changed files with 411 additions and 119 deletions
@@ -80,8 +80,7 @@ namespace StgSharp.Common.HighPerformance.ProcessorAbstraction
)
{
Span<uint> globalIndex = stackalloc uint[count];
Span<ulong> groupIndex = stackalloc ulong[count];
_ = GetNumaEach(numaId, groupIndex, globalIndex);
_ = GetNumaEach(numaId, null, globalIndex);
return new(numaId, count, globalIndex);
}
@@ -42,6 +42,7 @@ namespace StgSharp.Common.HighPerformance.ProcessorAbstraction
internal NumaNode(
uint numaId,
int count,
Span<int> logicalCoreIndex,
Span<uint> logicalCoreIds
)