summaryrefslogtreecommitdiffstats
path: root/thirdparty/embree/common/math/vec2fa.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/embree/common/math/vec2fa.h')
-rw-r--r--thirdparty/embree/common/math/vec2fa.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/thirdparty/embree/common/math/vec2fa.h b/thirdparty/embree/common/math/vec2fa.h
index 4f222894c2..d57e549e68 100644
--- a/thirdparty/embree/common/math/vec2fa.h
+++ b/thirdparty/embree/common/math/vec2fa.h
@@ -4,7 +4,12 @@
#pragma once
#include "../sys/alloc.h"
-#include "math.h"
+#include "emath.h"
+
+#if defined(EMBREE_SYCL_SUPPORT) && defined(__SYCL_DEVICE_ONLY__)
+# include "vec2fa_sycl.h"
+#else
+
#include "../simd/sse.h"
namespace embree
@@ -316,3 +321,5 @@ namespace embree
typedef Vec2fa Vec2fa_t;
}
+
+#endif