Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RocBlas.h
Go to the documentation of this file.
1 /* *******************************************************************
2  * Rocstar Simulation Suite *
3  * Copyright@2015, Illinois Rocstar LLC. All rights reserved. *
4  * *
5  * Illinois Rocstar LLC *
6  * Champaign, IL *
7  * www.illinoisrocstar.com *
8  * sales@illinoisrocstar.com *
9  * *
10  * License: See LICENSE file in top level of distribution package or *
11  * http://opensource.org/licenses/NCSA *
12  *********************************************************************/
13 /* *******************************************************************
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, *
15  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES *
16  * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND *
17  * NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR *
18  * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
19  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, *
20  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE *
21  * USE OR OTHER DEALINGS WITH THE SOFTWARE. *
22  *********************************************************************/
23 
24 #ifndef _ROCBLAS_H_
25 #define _ROCBLAS_H_
26 
27 class RocBlas
28 {
29 public:
30  RocBlas() {}
31  static void init();
32  static void initHandles();
33 public:
34  static int copy;
35  static int add;
36  static int sub;
37  static int limit1;
38  static int mul;
39  static int div;
40  static int neg;
41  static int axpy;
42  static int nrm2;
43  static int copy_scalar;
44  static int sub_scalar;
45  static int axpy_scalar;
46  static int div_scalar;
47  static int mul_scalar;
48  static int max_scalar_MPI;
49  static int min_scalar_MPI;
50  static int sum_scalar_MPI;
51  static int nrm2_scalar_MPI;
52  static int maxof_scalar;
53 };
54 
55 #endif
56 
57 
58 
59 
60 
61 
RocBlas()
Definition: RocBlas.h:30
static int limit1
Definition: RocBlas.h:37
static int axpy_scalar
Definition: RocBlas.h:45
static int min_scalar_MPI
Definition: RocBlas.h:49
static int sum_scalar_MPI
Definition: RocBlas.h:50
static void init()
Definition: Coupling.C:87
static int axpy
Definition: RocBlas.h:41
static int copy
Definition: RocBlas.h:34
static int div
Definition: RocBlas.h:39
static int nrm2_scalar_MPI
Definition: RocBlas.h:51
static int copy_scalar
Definition: RocBlas.h:43
static int add
Definition: RocBlas.h:35
static int mul_scalar
Definition: RocBlas.h:47
static void initHandles()
Definition: Coupling.C:64
static int neg
Definition: RocBlas.h:40
static int sub_scalar
Definition: RocBlas.h:44
static int maxof_scalar
Definition: RocBlas.h:52
static int max_scalar_MPI
Definition: RocBlas.h:48
static int sub
Definition: RocBlas.h:36
static int mul
Definition: RocBlas.h:38
static int div_scalar
Definition: RocBlas.h:46
static int nrm2
Definition: RocBlas.h:42