From e2c02c47ad2489a63bea01f4bf5c876bdcee1c41 Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Sat, 8 Jun 2013 11:38:23 +0000 Subject: Cycles / OpenCL: * Fix for recent commits, ceilf is not available in OpenCL. --- intern/cycles/kernel/kernel_compat_opencl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'intern/cycles/kernel/kernel_compat_opencl.h') diff --git a/intern/cycles/kernel/kernel_compat_opencl.h b/intern/cycles/kernel/kernel_compat_opencl.h index 66cf0bb996b..2bf3b58ce99 100644 --- a/intern/cycles/kernel/kernel_compat_opencl.h +++ b/intern/cycles/kernel/kernel_compat_opencl.h @@ -98,6 +98,7 @@ #define tanf(x) tan(((float)x)) #define logf(x) log(((float)x)) #define floorf(x) floor(((float)x)) +#define ceilf(x) ceil(((float)x)) #define expf(x) exp(((float)x)) #define hypotf(x, y) hypot(((float)x), ((float)y)) #define atan2f(x, y) atan2(((float)x), ((float)y)) -- cgit v1.2.3