Skip to content

Commit 27e5a65

Browse files
committed
Change vector alias
1 parent 0151de9 commit 27e5a65

File tree

2 files changed

+1
-92
lines changed

2 files changed

+1
-92
lines changed

external/VectorMaths.cpp

Lines changed: 0 additions & 74 deletions
This file was deleted.

external/VectorMaths.hpp

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,23 +32,6 @@
3232
#include <sycl/sycl.hpp>
3333

3434
// Any file which includes VectorMaths.hpp will have this alias
35-
using vecType = std::array<float, 2>;
36-
37-
SYCL_EXTERNAL vecType operator*=(vecType &a, vecType b);
38-
SYCL_EXTERNAL vecType operator*(vecType a, vecType b);
39-
40-
SYCL_EXTERNAL vecType operator+=(vecType &a, vecType b);
41-
SYCL_EXTERNAL vecType operator+(vecType a, vecType b);
42-
43-
SYCL_EXTERNAL vecType operator-=(vecType &a, vecType b);
44-
SYCL_EXTERNAL vecType operator-(vecType a, vecType b);
45-
46-
SYCL_EXTERNAL vecType operator*=(vecType &a, float s);
47-
SYCL_EXTERNAL vecType operator*(vecType a, float s);
48-
SYCL_EXTERNAL vecType operator*=(float s, vecType &a);
49-
SYCL_EXTERNAL vecType operator*(float s, vecType a);
50-
51-
SYCL_EXTERNAL vecType operator/=(vecType &a, float s);
52-
SYCL_EXTERNAL vecType operator/(vecType a, float s);
35+
using vecType = sycl::float2;
5336

5437
#endif

0 commit comments

Comments
 (0)