SNABSuite  0.x
Spiking Neural Architecture Benchmark Suite
snab_registry.hpp
Go to the documentation of this file.
1 /*
2  * SNABSuite -- Spiking Neural Architecture Benchmark Suite
3  * Copyright (C) 2016 Christoph Jenzen
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #pragma once
20 
21 #ifndef SNABSUITE_COMMON_SNAB_REGISTRY_HPP
22 #define SNABSUITE_COMMON_SNAB_REGISTRY_HPP
23 
24 #include <memory>
25 #include <string>
26 #include <vector>
27 
28 #include "common/snab_base.hpp"
29 
30 namespace SNAB {
35 std::vector<std::shared_ptr<SNABBase>> snab_registry(std::string backend,
36  size_t bench_index);
37 }
38 
39 #endif /* SNABSUITE_COMMON_SNAB_REGISTRY_HPP */
std::vector< std::shared_ptr< SNABBase > > snab_registry(std::string backend, size_t bench_index)