geopm  3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
DGEMMModelRegion.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 - 2024 Intel Corporation
3  * SPDX-License-Identifier: BSD-3-Clause
4  */
5 
6 #ifndef DGEMMMODELREGION_HPP_INCLUDE
7 #define DGEMMMODELREGION_HPP_INCLUDE
8 
9 #include "geopm/ModelRegion.hpp"
10 
11 namespace geopm
12 {
14  {
15  public:
16  DGEMMModelRegion(double big_o_in,
17  int verbosity,
18  bool do_imbalance,
19  bool do_progress,
20  bool do_unmarked);
21  DGEMMModelRegion(const DGEMMModelRegion &other) = delete;
22  DGEMMModelRegion &operator=(const DGEMMModelRegion &other) = delete;
23  virtual ~DGEMMModelRegion();
24  void big_o(double big_o);
25  void run(void);
26  protected:
27  double *m_matrix_a;
28  double *m_matrix_b;
29  double *m_matrix_c;
30  size_t m_matrix_size;
31  const size_t m_pad_size;
32  const int m_num_warmup;
33  private:
34  void cleanup(void);
35  void warmup(void);
36 
37  uint64_t m_start_rid;
38  };
39 }
40 
41 #endif
Definition: DGEMMModelRegion.hpp:14
DGEMMModelRegion(const DGEMMModelRegion &other)=delete
DGEMMModelRegion(double big_o_in, int verbosity, bool do_imbalance, bool do_progress, bool do_unmarked)
Definition: DGEMMModelRegion.cpp:45
virtual ~DGEMMModelRegion()
Definition: DGEMMModelRegion.cpp:67
double * m_matrix_b
Definition: DGEMMModelRegion.hpp:28
DGEMMModelRegion & operator=(const DGEMMModelRegion &other)=delete
const int m_num_warmup
Definition: DGEMMModelRegion.hpp:32
const size_t m_pad_size
Definition: DGEMMModelRegion.hpp:31
void run(void)
Definition: DGEMMModelRegion.cpp:125
double * m_matrix_c
Definition: DGEMMModelRegion.hpp:29
double * m_matrix_a
Definition: DGEMMModelRegion.hpp:27
size_t m_matrix_size
Definition: DGEMMModelRegion.hpp:30
Definition: ModelRegion.hpp:18
double big_o(void)
Definition: ModelRegion.cpp:113
Definition: Accumulator.cpp:12