diff options
author | Thomas Dinges <blender@dingto.org> | 2016-08-11 23:47:53 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2016-08-11 23:47:53 +0300 |
commit | 9d236ac06c2b6511365eb53f84bbe366c76acc72 (patch) | |
tree | ecf56359ed8beb9c96d215e2e1c19a5f45784709 /intern/cycles/kernel/kernel_compat_cuda.h | |
parent | 5ac7ef873b7b5895b3482387ba05168e694c6525 (diff) |
Cycles: Enable half float support (4 channels and 1 channel) on CUDA.
Atm OpenEXR half files benefit from this and will use only 1/2 of the memory now. More space for HDRs!
Part of my GSoC 2016.
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 063220b542e..d656fac81e6 100644 --- a/intern/cycles/kernel/kernel_compat_cuda.h +++ b/intern/cycles/kernel/kernel_compat_cuda.h @@ -31,6 +31,7 @@ #endif #include <cuda.h> +#include <cuda_fp16.h> #include <float.h> /* Qualifier wrappers for different names on different devices */ |