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
avx
sorthelper.h
Go to the documentation of this file.
1
/* This file is part of the Vc library.
2
3
Copyright (C) 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
#ifndef VC_AVX_SORTHELPER_H
21
#define VC_AVX_SORTHELPER_H
22
23
#include "
types.h
"
24
25
namespace
ROOT {
26
namespace
Vc
27
{
28
namespace
AVX
29
{
30
template
<
typename
T>
struct
SortHelper
31
{
32
typedef
typename
VectorTypeHelper<T>::Type
VectorType
;
33
#ifdef VC_PASSING_VECTOR_BY_VALUE_IS_BROKEN
34
typedef
const
VectorType
&
VTArg
;
35
#else
36
typedef
const
VectorType
VTArg
;
37
#endif
38
static
VectorType
sort
(
VTArg
);
39
static
void
sort
(
VectorType
&,
VectorType
&);
40
};
41
}
// namespace AVX
42
}
// namespace Vc
43
}
// namespace ROOT
44
45
#endif // VC_AVX_SORTHELPER_H
ROOT::Vc::AVX::SortHelper::sort
static VectorType sort(VTArg)
ROOT::Vc::AVX::SortHelper::VectorType
VectorTypeHelper< T >::Type VectorType
Definition:
sorthelper.h:32
ROOT::Vc::AVX::VectorTypeHelper
Definition:
types.h:61
ROOT::Vc::AVX::SortHelper::VTArg
const VectorType VTArg
Definition:
sorthelper.h:36
ROOT::Vc::AVX::SortHelper
Definition:
sorthelper.h:30
AVX
#define AVX
Definition:
global.h:90
types.h