diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-04-07 19:27:07 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-04-07 19:28:38 +0300 |
commit | 7d77b3e813355d832b7fbc5e4f55773ab792d0e3 (patch) | |
tree | f293a2a2ca035fdd0c5000781071a08521eebe6e /intern/cycles/kernel/kernel_compat_cuda.h | |
parent | 8c22a974d63db2b3182a5b7855c5794bc9cb111f (diff) |
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.
Diffstat (limited to 'intern/cycles/kernel/kernel_compat_cuda.h')
-rw-r--r-- | intern/cycles/kernel/kernel_compat_cuda.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |