Commit: 97a0345691a77f35adf775c1764ed2456b96a2a8 Author: Xavier Hallade Date: Mon May 30 14:03:38 2022 +0200 Branches: cycles_oneapi https://developer.blender.org/rB97a0345691a77f35adf775c1764ed2456b96a2a8
Cycles: add definition of __forceinline for sycl compiler (used in utils) =================================================================== 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 e5049a7ffe4..33620ef1f23 100644 --- a/intern/cycles/kernel/device/oneapi/compat.h +++ b/intern/cycles/kernel/device/oneapi/compat.h @@ -187,6 +187,8 @@ ccl_always_inline float3 make_float3(float x) #define fmodf(x, y) sycl::fmod((x), (y)) #define lgammaf(x) sycl::lgamma((x)) +#define __forceinline __attribute__((always_inline)) + /* Types */ #include "util/half.h" #include "util/types.h" _______________________________________________ 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