[Bf-blender-cvs] [7d77b3e8133] master: Cycles: Fix compilation error with certain CUDA and host compiler configuration
Sergey Sharybin
noreply at git.blender.org
Fri Apr 7 18:28:44 CEST 2017
Commit: 7d77b3e813355d832b7fbc5e4f55773ab792d0e3
Author: Sergey Sharybin
Date: Fri Apr 7 18:27:07 2017 +0200
Branches: master
https://developer.blender.org/rB7d77b3e813355d832b7fbc5e4f55773ab792d0e3
Cycles: Fix compilation error with certain CUDA and host compiler configuration
This seems to happen on Windows only, happened to Thomas and Nathan already.
Similar patch Thomas was showing, but i do not see it committted. So comitting
now in order to get more developers and users happy.
===================================================================
M intern/cycles/kernel/kernel_compat_cuda.h
===================================================================
diff --git a/intern/cycles/kernel/kernel_compat_cuda.h b/intern/cycles/kernel/kernel_compat_cuda.h
index 39e98c7dda6..a6b44acc809 100644
--- a/intern/cycles/kernel/kernel_compat_cuda.h
+++ b/intern/cycles/kernel/kernel_compat_cuda.h
@@ -33,6 +33,7 @@
#include <cuda.h>
#include <cuda_fp16.h>
#include <float.h>
+#include <cstdint>
/* Qualifier wrappers for different names on different devices */
More information about the Bf-blender-cvs
mailing list