14{
16 int m_B, n_B;
17 int rs_A, cs_A;
18 int rs_B, cs_B;
20
23
25
27
30
35
38 else
40
41 switch ( datatype ){
42
43 case FLA_FLOAT:
44 {
45 float *buff_alpha = ( float * ) FLA_FLOAT_PTR( alpha );
46 float *buff_A = ( float * ) FLA_FLOAT_PTR( A );
47 float *buff_B = ( float * ) FLA_FLOAT_PTR( B );
48
50 m_B,
51 n_B,
52 buff_alpha,
53 buff_A, rs_A, cs_A,
54 buff_B, rs_B, cs_B );
55
56 break;
57 }
58
59 case FLA_DOUBLE:
60 {
61 double *buff_alpha = ( double * ) FLA_DOUBLE_PTR( alpha );
62 double *buff_A = ( double * ) FLA_DOUBLE_PTR( A );
63 double *buff_B = ( double * ) FLA_DOUBLE_PTR( B );
64
66 m_B,
67 n_B,
68 buff_alpha,
69 buff_A, rs_A, cs_A,
70 buff_B, rs_B, cs_B );
71
72 break;
73 }
74
75 case FLA_COMPLEX:
76 {
80
82 m_B,
83 n_B,
84 buff_alpha,
85 buff_A, rs_A, cs_A,
86 buff_B, rs_B, cs_B );
87
88 break;
89 }
90
91 case FLA_DOUBLE_COMPLEX:
92 {
96
98 m_B,
99 n_B,
100 buff_alpha,
101 buff_A, rs_A, cs_A,
102 buff_B, rs_B, cs_B );
103
104 break;
105 }
106
107 }
108
109 return FLA_SUCCESS;
110}
FLA_Error FLA_Axpy_check(FLA_Obj alpha, FLA_Obj A, FLA_Obj B)
Definition FLA_Axpy_check.c:13
FLA_Bool FLA_Obj_is_conformal_to(FLA_Trans trans, FLA_Obj A, FLA_Obj B)
Definition FLA_Query.c:438
dim_t FLA_Obj_width(FLA_Obj obj)
Definition FLA_Query.c:123
FLA_Bool FLA_Obj_has_zero_dim(FLA_Obj A)
Definition FLA_Query.c:400
dim_t FLA_Obj_row_stride(FLA_Obj obj)
Definition FLA_Query.c:167
dim_t FLA_Obj_length(FLA_Obj obj)
Definition FLA_Query.c:116
void FLA_Param_map_flame_to_blis_trans(FLA_Trans trans, trans1_t *blis_trans)
Definition FLA_Param.c:245
dim_t FLA_Obj_col_stride(FLA_Obj obj)
Definition FLA_Query.c:174
unsigned int FLA_Check_error_level(void)
Definition FLA_Check.c:18
FLA_Datatype FLA_Obj_datatype(FLA_Obj obj)
Definition FLA_Query.c:13
int FLA_Datatype
Definition FLA_type_defs.h:49
void bl1_zaxpymt(trans1_t trans, int m, int n, dcomplex *alpha, dcomplex *a, int a_rs, int a_cs, dcomplex *b, int b_rs, int b_cs)
Definition bl1_axpymt.c:248
void bl1_daxpymt(trans1_t trans, int m, int n, double *alpha, double *a, int a_rs, int a_cs, double *b, int b_rs, int b_cs)
Definition bl1_axpymt.c:81
void bl1_saxpymt(trans1_t trans, int m, int n, float *alpha, float *a, int a_rs, int a_cs, float *b, int b_rs, int b_cs)
Definition bl1_axpymt.c:13
void bl1_caxpymt(trans1_t trans, int m, int n, scomplex *alpha, scomplex *a, int a_rs, int a_cs, scomplex *b, int b_rs, int b_cs)
Definition bl1_axpymt.c:149
trans1_t
Definition blis_type_defs.h:53
Definition blis_type_defs.h:138
Definition blis_type_defs.h:133