SST/macro
lib_compute_matrix.h
Go to the documentation of this file.
1 /*
2  * This file is part of SST/macroscale:
3  * The macroscale architecture simulator from the SST suite.
4  * Copyright (c) 2009 Sandia Corporation.
5  * This software is distributed under the BSD License.
6  * Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
7  * the U.S. Government retains certain rights in this software.
8  * For more information, see the LICENSE file in the top
9  * SST/macroscale directory.
10  */
11 
12 #ifndef SSTMAC_SOFTWARE_LIBRARIES_COMPUTE_LIB_COMPUTE_MATRIX_H_INCLUDED
13 #define SSTMAC_SOFTWARE_LIBRARIES_COMPUTE_LIB_COMPUTE_MATRIX_H_INCLUDED
14 
17 
18 namespace sstmac {
19 namespace sw {
20 
22  public lib_compute_memmove
23 {
24  // ------- constructor / boost stuff -------------//
25 
26  public:
28  lib_compute_memmove("computelibmatrix", id) {
29  }
30 
31  virtual
33 
34  void
35  double_mxm(long nrow, long nlink, long ncol, long nthread = 1);
36 
37  void
38  double_add(long nrow, long ncol, long nthread = 1);
39 
40  void
41  double_copy(long nrow, long ncol, long nthread = 1);
42 
43  protected:
44  void
45  double_compute(long ndata_read, long working_set_size_read,
46  long ndata_write, long working_set_size_write,
47  long nadd, long nmult,
48  long nmultadd, long nthread);
49 
50  protected:
52 
53 };
54 
55 }
56 } //end of namespace sstmac
57 
58 #endif
59 
void double_add(long nrow, long ncol, long nthread=1)
void double_mxm(long nrow, long nlink, long ncol, long nthread=1)
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
void double_copy(long nrow, long ncol, long nthread=1)
void double_compute(long ndata_read, long working_set_size_read, long ndata_write, long working_set_size_write, long nadd, long nmult, long nmultadd, long nthread)
A wrapper for an appid, taskid pair.
Definition: software_id.h:28