set bitmask properly on windows
This commit is contained in:
parent
9a4bdc8c12
commit
467583831c
1 changed files with 1 additions and 1 deletions
2
ggml.c
2
ggml.c
|
@ -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);
|
m = SetThreadAffinityMask(h, m);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue