File tree Expand file tree Collapse file tree 2 files changed +1
-92
lines changed Expand file tree Collapse file tree 2 files changed +1
-92
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 32
32
#include < sycl/sycl.hpp>
33
33
34
34
// 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;
53
36
54
37
#endif
You can’t perform that action at this time.
0 commit comments