libflame revision_anchor
FLA_Scalr.c File Reference

(r)

Functions

FLA_Error FLA_Scalr (FLA_Uplo uplo, FLA_Obj alpha, FLA_Obj A)
 

Variables

fla_scalr_t * fla_scalr_cntl_blas
 

Function Documentation

◆ FLA_Scalr()

FLA_Error FLA_Scalr ( FLA_Uplo uplo,
FLA_Obj alpha,
FLA_Obj A )
16{
17 FLA_Error r_val;
18
19#ifdef FLA_ENABLE_BLAS1_FRONT_END_CNTL_TREES
20 // Check parameters.
21 if ( FLA_Check_error_level() >= FLA_MIN_ERROR_CHECKING )
22 FLA_Scalr_check( alpha, A );
23
24 // Invoke FLA_Scalr_internal() with flat control tree that simply calls
25 // external wrapper.
26 r_val = FLA_Scalr_internal( uplo, alpha, A, fla_scalr_cntl_blas );
27
28#else
29 r_val = FLA_Scalr_external( uplo, alpha, A );
30#endif
31
32 return r_val;
33}
fla_scalr_t * fla_scalr_cntl_blas
Definition FLA_Scalr_cntl_init.c:13
FLA_Error FLA_Scalr_internal(FLA_Uplo uplo, FLA_Obj alpha, FLA_Obj A, fla_scalr_t *cntl)
Definition FLA_Scalr_internal.c:16
FLA_Error FLA_Scalr_check(FLA_Uplo uplo, FLA_Obj alpha, FLA_Obj A)
Definition FLA_Scalr_check.c:13
FLA_Error FLA_Scalr_external(FLA_Uplo uplo, FLA_Obj alpha, FLA_Obj A)
Definition FLA_Scalr_external.c:13
unsigned int FLA_Check_error_level(void)
Definition FLA_Check.c:18
int FLA_Error
Definition FLA_type_defs.h:47

References FLA_Check_error_level(), FLA_Scalr_check(), fla_scalr_cntl_blas, FLA_Scalr_external(), and FLA_Scalr_internal().

Referenced by FLA_Hevd_lv_unb_var1(), and FLA_Hevd_lv_unb_var2().

Variable Documentation

◆ fla_scalr_cntl_blas

fla_scalr_t* fla_scalr_cntl_blas
extern