set bitmask properly on windows

This commit is contained in:
fmz 2024-05-24 19:28:03 -07:00
parent 9a4bdc8c12
commit 467583831c

2
ggml.c
View file

@ -19337,7 +19337,7 @@ static bool __thread_affinity(bool * mask) {
}
}
DWORD_PTR m = (DWORD_PTR)mask;
DWORD_PTR m = (DWORD_PTR)bitmask;
m = SetThreadAffinityMask(h, m);