summaryrefslogtreecommitdiffstats
path: root/thirdparty/embree/common/math/vec3ia.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/embree/common/math/vec3ia.h')
-rw-r--r--thirdparty/embree/common/math/vec3ia.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/thirdparty/embree/common/math/vec3ia.h b/thirdparty/embree/common/math/vec3ia.h
index d4cc3125cd..1472fe9135 100644
--- a/thirdparty/embree/common/math/vec3ia.h
+++ b/thirdparty/embree/common/math/vec3ia.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 "vec3ia_sycl.h"
+#else
+
#include "../simd/sse.h"
namespace embree
@@ -194,3 +199,5 @@ namespace embree
return cout << "(" << a.x << ", " << a.y << ", " << a.z << ")";
}
}
+
+#endif