14{
16 int num_elem;
17 int inc_x;
18 int inc_y;
20
23
25
27
31
33
34 switch ( datatype ){
35
36 case FLA_FLOAT:
37 {
38 float *buff_x = ( float * ) FLA_FLOAT_PTR( x );
39 float *buff_y = ( float * ) FLA_FLOAT_PTR( y );
40 float *buff_rho = (
float * ) FLA_FLOAT_PTR(
rho );
41
43 num_elem,
44 buff_x, inc_x,
45 buff_y, inc_y,
46 buff_rho );
47
48 break;
49 }
50
51 case FLA_DOUBLE:
52 {
53 double *buff_x = ( double * ) FLA_DOUBLE_PTR( x );
54 double *buff_y = ( double * ) FLA_DOUBLE_PTR( y );
55 double *buff_rho = (
double * ) FLA_DOUBLE_PTR(
rho );
56
58 num_elem,
59 buff_x, inc_x,
60 buff_y, inc_y,
61 buff_rho );
62
63 break;
64 }
65
66 case FLA_COMPLEX:
67 {
71
73 num_elem,
74 buff_x, inc_x,
75 buff_y, inc_y,
76 buff_rho );
77
78 break;
79 }
80
81 case FLA_DOUBLE_COMPLEX:
82 {
86
88 num_elem,
89 buff_x, inc_x,
90 buff_y, inc_y,
91 buff_rho );
92
93 break;
94 }
95
96 }
97
98 return FLA_SUCCESS;
99}
FLA_Error FLA_Dotc_check(FLA_Conj conj, FLA_Obj x, FLA_Obj y, FLA_Obj rho)
Definition FLA_Dotc_check.c:13
FLA_Bool FLA_Obj_has_zero_dim(FLA_Obj A)
Definition FLA_Query.c:400
unsigned int FLA_Check_error_level(void)
Definition FLA_Check.c:18
void FLA_Param_map_flame_to_blis_conj(FLA_Conj conj, conj1_t *blis_conj)
Definition FLA_Param.c:269
dim_t FLA_Obj_vector_inc(FLA_Obj obj)
Definition FLA_Query.c:145
dim_t FLA_Obj_vector_dim(FLA_Obj obj)
Definition FLA_Query.c:137
FLA_Datatype FLA_Obj_datatype(FLA_Obj obj)
Definition FLA_Query.c:13
int FLA_Datatype
Definition FLA_type_defs.h:49
* rho
Definition bl1_axpyv2bdotaxpy.c:322
void bl1_cdot(conj1_t conj, int n, scomplex *x, int incx, scomplex *y, int incy, scomplex *rho)
Definition bl1_dot.c:39
void bl1_ddot(conj1_t conj, int n, double *x, int incx, double *y, int incy, double *rho)
Definition bl1_dot.c:26
void bl1_sdot(conj1_t conj, int n, float *x, int incx, float *y, int incy, float *rho)
Definition bl1_dot.c:13
void bl1_zdot(conj1_t conj, int n, dcomplex *x, int incx, dcomplex *y, int incy, dcomplex *rho)
Definition bl1_dot.c:65
conj1_t
Definition blis_type_defs.h:80
Definition blis_type_defs.h:138
Definition blis_type_defs.h:133