Fix T60627: Cycles render hanging on Windows with threadripper CPU.
This commit is contained in:
parent
c5eb10b110
commit
08871b56bc
Notes:
blender-bot
2023-02-14 10:21:11 +01:00
Referenced by issue #60627, can only render in Blender 2.79 "blender renderer". Referenced by issue #60573, cycles crash in gpu mode
|
@ -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