Debian Codegraph @

src/acl/DataTypes/aclPrivateVariable.cxx

raw
1 /*
2 * Advanced Simulation Library <http://asl.org.il>
3 *
4 * Copyright 2015 Avtech Scientific <http://avtechscientific.com>
5 *
6 *
7 * This file is part of Advanced Simulation Library (ASL).
8 *
9 * ASL is free software: you can redistribute it and/or modify it
10 * under the terms of the GNU Affero General Public License as
11 * published by the Free Software Foundation, version 3 of the License.
12 *
13 * ASL is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Affero General Public License for more details.
17 *
18 * You should have received a copy of the GNU Affero General Public License
19 * along with ASL. If not, see <http://www.gnu.org/licenses/>.
20 *
21 */
22
23
24 #include "aclPrivateVariable.h"
25 #include "../aclUtilities.h"
26
27 namespace acl
28 {
29
30 template <> unsigned int PrivateVariable<cl_int>::id(0);
31 template <> const string PrivateVariable<cl_int>::prefix("pv_i");
32
33 template <> unsigned int PrivateVariable<cl_uint>::id(0);
34 template <> const string PrivateVariable<cl_uint>::prefix("pv_ui");
35
36 template <> unsigned int PrivateVariable<cl_float>::id(0);
37 template <> const string PrivateVariable<cl_float>::prefix("pv_f");
38
39 template <> unsigned int PrivateVariable<cl_double>::id(0);
40 template <> const string PrivateVariable<cl_double>::prefix("pv_d");
41
42 template <> unsigned int PrivateVariable<cl_long>::id(0);
43 template <> const string PrivateVariable<cl_long>::prefix("pv_l");
44
45
46 } // namespace acl