Fix T60627: Cycles render hanging on Windows with threadripper CPU.

This commit is contained in:
Sergey Sharybin 2019-01-18 19:45:39 +01:00 committed by Brecht Van Lommel
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
1 changed files with 1 additions and 1 deletions

View File

@ -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) {