forked from bartvdbraak/blender
Fix T60627: Cycles render hanging on Windows with threadripper CPU.
This commit is contained in:
parent
c5eb10b110
commit
08871b56bc
@ -163,7 +163,7 @@ NUMAAPI_Result numaAPI_Initialize(void) {
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Internal helpers.
|
||||
|
||||
static int countNumSetBits(int64_t mask) {
|
||||
static int countNumSetBits(ULONGLONG mask) {
|
||||
// TODO(sergey): There might be faster way calculating number of set bits.
|
||||
int num_bits = 0;
|
||||
while (mask != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user