[Bf-blender-cvs] [08871b56bc4] blender2.7: Fix T60627: Cycles render hanging on Windows with threadripper CPU.
Sergey Sharybin
noreply at git.blender.org
Fri Jan 18 21:01:38 CET 2019
Commit: 08871b56bc4db884ce127deb0ea247e740efe813
Author: Sergey Sharybin
Date: Fri Jan 18 19:45:39 2019 +0100
Branches: blender2.7
https://developer.blender.org/rB08871b56bc4db884ce127deb0ea247e740efe813
Fix T60627: Cycles render hanging on Windows with threadripper CPU.
===================================================================
M intern/numaapi/source/numaapi_win32.c
===================================================================
diff --git a/intern/numaapi/source/numaapi_win32.c b/intern/numaapi/source/numaapi_win32.c
index e278ef612fd..8f1137a7bea 100644
--- a/intern/numaapi/source/numaapi_win32.c
+++ b/intern/numaapi/source/numaapi_win32.c
@@ -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) {
More information about the Bf-blender-cvs
mailing list