/[escript]/trunk/cusplibrary/cusp/format.h
ViewVC logotype

Contents of /trunk/cusplibrary/cusp/format.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5588 - (show annotations)
Tue Apr 21 05:07:16 2015 UTC (5 years, 2 months ago) by caltinay
File MIME type: text/plain
File size: 1419 byte(s)
Update to copyright headers in cusp library.

1 /*
2 * Copyright 2008-2009 NVIDIA Corporation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 /*
18 * Modifications to this file:
19 * Copyright (c) 2014-2015, The University of Queensland
20 * Licensed under the Apache License, Version 2.0.
21 *
22 */
23
24
25 /*! \file format.h
26 * \brief Format types
27 */
28
29 #pragma once
30
31 #include <cusp/detail/config.h>
32
33 namespace cusp
34 {
35
36 struct known_format {};
37 struct unknown_format {};
38
39 struct dense_format : public known_format {};
40 struct array1d_format : public dense_format {};
41 struct array2d_format : public dense_format {};
42
43 struct sparse_format : public known_format {};
44 struct cds_format : public sparse_format {};
45 struct coo_format : public sparse_format {};
46 struct csr_format : public sparse_format {};
47 struct dia_format : public sparse_format {};
48 struct ell_format : public sparse_format {};
49 struct hyb_format : public sparse_format {};
50
51 } // end namespace cusp
52

  ViewVC Help
Powered by ViewVC 1.1.26