]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - Vc/include/Vc/scalar/types.h
Vc package added (version 0.6.79-dev)
[u/mrichter/AliRoot.git] / Vc / include / Vc / scalar / types.h
diff --git a/Vc/include/Vc/scalar/types.h b/Vc/include/Vc/scalar/types.h
new file mode 100644 (file)
index 0000000..79555e0
--- /dev/null
@@ -0,0 +1,42 @@
+/*  This file is part of the Vc library.
+
+    Copyright (C) 2009-2011 Matthias Kretz <kretz@kde.org>
+
+    Vc is free software: you can redistribute it and/or modify
+    it under the terms of the GNU Lesser General Public License as
+    published by the Free Software Foundation, either version 3 of
+    the License, or (at your option) any later version.
+
+    Vc is distributed in the hope that it will be useful, but
+    WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with Vc.  If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+#ifndef VC_SCALAR_TYPES_H
+#define VC_SCALAR_TYPES_H
+
+#define VC_DOUBLE_V_SIZE 1
+#define VC_FLOAT_V_SIZE 1
+#define VC_SFLOAT_V_SIZE 1
+#define VC_INT_V_SIZE 1
+#define VC_UINT_V_SIZE 1
+#define VC_SHORT_V_SIZE 1
+#define VC_USHORT_V_SIZE 1
+
+#include "../common/types.h"
+
+namespace Vc
+{
+    namespace Scalar
+    {
+        template<typename V = float> class VectorAlignedBaseT {};
+        template<typename T> class Vector;
+    } // namespace Scalar
+} // namespace Vc
+
+#endif // VC_SCALAR_TYPES_H