Commit: 22dc47f710c8c7bd9b9fe6df2bac215fef3ef7e6 Author: Xavier Hallade Date: Fri May 13 11:41:28 2022 +0200 Branches: cycles_oneapi https://developer.blender.org/rB22dc47f710c8c7bd9b9fe6df2bac215fef3ef7e6
Cycles: add lgamma definition in oneAPI compat header fixes compilation using intel/llvm compiler on Linux =================================================================== M intern/cycles/kernel/device/oneapi/compat.h =================================================================== diff --git a/intern/cycles/kernel/device/oneapi/compat.h b/intern/cycles/kernel/device/oneapi/compat.h index d737f5a8029..d4f15d95875 100644 --- a/intern/cycles/kernel/device/oneapi/compat.h +++ b/intern/cycles/kernel/device/oneapi/compat.h @@ -185,6 +185,7 @@ ccl_always_inline float3 make_float3(float x) #define fmaxf(x, y) sycl::fmax((x), (y)) #define fminf(x, y) sycl::fmin((x), (y)) #define fmodf(x, y) sycl::fmod((x), (y)) +#define lgammaf(x) sycl::lgamma((x)) #define __forceinline inline _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs