OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.dg/] [graphite/] [id-1.C] - Blame information for rev 301

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
#include 
2
 
3
template  class Tensor;
4
template 
5
class Tensor<1,dim>
6
{
7
  public:
8
    explicit Tensor (const bool initialize = true);
9
    Tensor (const Tensor<1,dim> &);
10
    double values[(dim!=0) ? (dim) : 1];
11
};
12
template 
13
Tensor<1,dim>::Tensor (const Tensor<1,dim> &p)
14
{
15
  for (unsigned int i=0; i
16
    values[i] = p.values[i];
17
}
18
template 
19
class KellyErrorEstimator
20
{
21
    struct PerThreadData
22
    {
23
 std::vector > > > psi;
24
 PerThreadData (const unsigned int n_solution_vectors,
25
         const unsigned int n_components,
26
         const unsigned int n_q_points);
27
    };
28
};
29
template 
30
KellyErrorEstimator::PerThreadData::
31
PerThreadData (const unsigned int n_solution_vectors,
32
        const unsigned int n_components,
33
        const unsigned int n_q_points)
34
{
35
  for (unsigned int i=0; i
36
    for (unsigned int qp=0;qp
37
      psi[i][qp].resize(n_components);
38
}
39
template class KellyErrorEstimator<3>;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.