ROOT
6.07/01
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
math
vc
include
Vc
internal
namespace.h
Go to the documentation of this file.
1
/* This file is part of the Vc library.
2
3
Copyright (C) 2010-2011 Matthias Kretz <kretz@kde.org>
4
5
Vc is free software: you can redistribute it and/or modify
6
it under the terms of the GNU Lesser General Public License as
7
published by the Free Software Foundation, either version 3 of
8
the License, or (at your option) any later version.
9
10
Vc is distributed in the hope that it will be useful, but
11
WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU Lesser General Public License for more details.
14
15
You should have received a copy of the GNU Lesser General Public
16
License along with Vc. If not, see <http://www.gnu.org/licenses/>.
17
18
*/
19
20
#ifdef VC_IMPL_Scalar
21
# define VECTOR_NAMESPACE Vc::Scalar
22
#elif defined(VC_IMPL_AVX)
23
# define VECTOR_NAMESPACE Vc::AVX
24
#elif defined(VC_IMPL_SSE)
25
# define VECTOR_NAMESPACE Vc::SSE
26
#else
27
# error "No known Vc implementation was selected. This should not happen. The logic in Vc/global.h failed."
28
#endif