diff options
Diffstat (limited to 'intern/cycles/util/types_int3_impl.h')
-rw-r--r-- | intern/cycles/util/types_int3_impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/util/types_int3_impl.h b/intern/cycles/util/types_int3_impl.h index 4cfc1cf2987..1c49e97ad32 100644 --- a/intern/cycles/util/types_int3_impl.h +++ b/intern/cycles/util/types_int3_impl.h @@ -14,7 +14,7 @@ CCL_NAMESPACE_BEGIN -#ifndef __KERNEL_GPU__ +#if !defined(__KERNEL_GPU__) || defined(__KERNEL_ONEAPI__) # ifdef __KERNEL_SSE__ __forceinline int3::int3() { @@ -84,7 +84,7 @@ ccl_device_inline void print_int3(const char *label, const int3 &a) { printf("%s: %d %d %d\n", label, a.x, a.y, a.z); } -#endif /* __KERNEL_GPU__ */ +#endif /* !defined(__KERNEL_GPU__) || defined(__KERNEL_ONEAPI__) */ CCL_NAMESPACE_END |