cheshirekow  v0.1.0
fattr.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013 Josh Bialkowski (jbialk@mit.edu)
3  *
4  * This file is part of mpblocks.
5  *
6  * mpblocks is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * mpblocks is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with mpblocks. If not, see <http://www.gnu.org/licenses/>.
18  */
27 #ifndef MPBLOCKS_CUDA_BITONIC_FATTR_H_
28 #define MPBLOCKS_CUDA_BITONIC_FATTR_H_
29 
30 #include <map>
31 #include <string>
32 
33 #include <cuda.h>
34 #include <cuda_runtime_api.h>
35 #include <mpblocks/cuda.h>
36 
37 
38 namespace mpblocks {
39 namespace cuda {
40 namespace bitonic {
41 
42 
43 typedef std::map<std::string,FuncAttributes> fattrMap_t;
44 
45 template <typename KeyType, typename ValueType>
46 static void get_fattr_kv( fattrMap_t& map );
47 
48 template <typename KeyType>
49 static void get_fattr_k( fattrMap_t& map );
50 
51 
52 } // namespace bitonic
53 } // namespace cuda
54 } // namespace mpblocks
55 
56 
57 #endif// BITONIC_SORTER_H
void get_fattr_kv(fattrMap_t &map)
Definition: fattr.cu.hpp:44
std::map< std::string, FuncAttributes > fattrMap_t
Definition: fattr.h:43
void get_fattr_k(fattrMap_t &map)
Definition: fattr.cu.hpp:56