libflame  revision_anchor
Functions
FLASH_blas1_prototypes.h File Reference

(r)

Go to the source code of this file.

Functions

FLA_Error FLASH_Axpy (FLA_Obj alpha, FLA_Obj A, FLA_Obj B)
 
FLA_Error FLASH_Axpyt (FLA_Trans trans, FLA_Obj alpha, FLA_Obj A, FLA_Obj B)
 
FLA_Error FLASH_Copy (FLA_Obj A, FLA_Obj B)
 
FLA_Error FLASH_Copyt (FLA_Trans trans, FLA_Obj A, FLA_Obj B)
 
FLA_Error FLASH_Scal (FLA_Obj alpha, FLA_Obj A)
 
FLA_Error FLASH_Scalr (FLA_Uplo uplo, FLA_Obj alpha, FLA_Obj A)
 

Function Documentation

◆ FLASH_Axpy()

FLA_Error FLASH_Axpy ( FLA_Obj  alpha,
FLA_Obj  A,
FLA_Obj  B 
)

References FLA_Axpy_check(), FLA_Axpy_internal(), FLA_Check_error_level(), FLASH_Queue_disable(), FLASH_Queue_enable(), and FLASH_Queue_get_enabled().

16 {
17  FLA_Error r_val;
18  FLA_Bool enable_supermatrix;
19 
20  // Check parameters.
21  if ( FLA_Check_error_level() >= FLA_MIN_ERROR_CHECKING )
22  FLA_Axpy_check( alpha, A, B );
23 
24  // Find the status of SuperMatrix.
25  enable_supermatrix = FLASH_Queue_get_enabled();
26 
27  // Temporarily disable SuperMatrix.
29 
30  // Execute tasks.
31  r_val = FLA_Axpy_internal( alpha, A, B, flash_axpy_cntl );
32 
33  // Restore SuperMatrix to its previous status.
34  if ( enable_supermatrix )
36 
37  return r_val;
38 }
fla_axpy_t * flash_axpy_cntl
Definition: FLASH_Axpy_cntl_init.c:15
FLA_Error FLASH_Queue_disable(void)
Definition: FLASH_Queue.c:144
int FLA_Error
Definition: FLA_type_defs.h:47
FLA_Bool FLASH_Queue_get_enabled(void)
Definition: FLASH_Queue.c:171
FLA_Error FLA_Axpy_check(FLA_Obj alpha, FLA_Obj A, FLA_Obj B)
Definition: FLA_Axpy_check.c:13
unsigned int FLA_Check_error_level(void)
Definition: FLA_Check.c:18
int FLA_Bool
Definition: FLA_type_defs.h:46
FLA_Error FLA_Axpy_internal(FLA_Obj alpha, FLA_Obj A, FLA_Obj B, fla_axpy_t *cntl)
Definition: FLA_Axpy_internal.c:16
FLA_Error FLASH_Queue_enable(void)
Definition: FLASH_Queue.c:117

◆ FLASH_Axpyt()

FLA_Error FLASH_Axpyt ( FLA_Trans  trans,
FLA_Obj  alpha,
FLA_Obj  A,
FLA_Obj  B 
)

References FLA_Axpyt_check(), FLA_Axpyt_internal(), FLA_Check_error_level(), FLASH_Queue_disable(), FLASH_Queue_enable(), and FLASH_Queue_get_enabled().

16 {
17  FLA_Error r_val;
18  FLA_Bool enable_supermatrix;
19 
20  // Check parameters.
21  if ( FLA_Check_error_level() >= FLA_MIN_ERROR_CHECKING )
22  FLA_Axpyt_check( trans, alpha, A, B );
23 
24  // Find the status of SuperMatrix.
25  enable_supermatrix = FLASH_Queue_get_enabled();
26 
27  // Temporarily disable SuperMatrix.
29 
30  // Execute tasks.
31  r_val = FLA_Axpyt_internal( trans, alpha, A, B, flash_axpyt_cntl );
32 
33  // Restore SuperMatrix to its previous status.
34  if ( enable_supermatrix )
36 
37  return r_val;
38 }
FLA_Error FLA_Axpyt_internal(FLA_Trans trans, FLA_Obj alpha, FLA_Obj A, FLA_Obj B, fla_axpyt_t *cntl)
Definition: FLA_Axpyt_internal.c:16
FLA_Error FLASH_Queue_disable(void)
Definition: FLASH_Queue.c:144
int FLA_Error
Definition: FLA_type_defs.h:47
FLA_Bool FLASH_Queue_get_enabled(void)
Definition: FLASH_Queue.c:171
fla_axpyt_t * flash_axpyt_cntl
Definition: FLASH_Axpyt_cntl_init.c:16
unsigned int FLA_Check_error_level(void)
Definition: FLA_Check.c:18
int FLA_Bool
Definition: FLA_type_defs.h:46
FLA_Error FLA_Axpyt_check(FLA_Trans trans, FLA_Obj alpha, FLA_Obj A, FLA_Obj B)
Definition: FLA_Axpyt_check.c:13
FLA_Error FLASH_Queue_enable(void)
Definition: FLASH_Queue.c:117

◆ FLASH_Copy()

FLA_Error FLASH_Copy ( FLA_Obj  A,
FLA_Obj  B 
)

References FLA_Check_error_level(), FLA_Copy_check(), FLA_Copy_internal(), FLASH_Queue_begin(), and FLASH_Queue_end().

Referenced by FLASH_CAQR_UT_inc_solve(), FLASH_Chol_solve(), FLASH_LQ_UT_solve(), FLASH_LU_incpiv_solve(), FLASH_LU_nopiv_solve(), FLASH_LU_piv_solve(), FLASH_Obj_create_copy_of(), FLASH_QR_UT_inc_solve(), FLASH_QR_UT_solve(), and FLASH_UDdate_UT_inc_solve().

16 {
17  FLA_Error r_val;
18 
19  // Check parameters.
20  if ( FLA_Check_error_level() >= FLA_MIN_ERROR_CHECKING )
21  FLA_Copy_check( A, B );
22 
23  // Begin a parallel region.
25 
26  // Execute tasks.
27  r_val = FLA_Copy_internal( A, B, flash_copy_cntl );
28 
29  // End the parallel region.
31 
32  return r_val;
33 }
void FLASH_Queue_end(void)
Definition: FLASH_Queue.c:81
FLA_Error FLA_Copy_internal(FLA_Obj A, FLA_Obj B, fla_copy_t *cntl)
Definition: FLA_Copy_internal.c:16
FLA_Error FLA_Copy_check(FLA_Obj A, FLA_Obj B)
Definition: FLA_Copy_check.c:13
int FLA_Error
Definition: FLA_type_defs.h:47
void FLASH_Queue_begin(void)
Definition: FLASH_Queue.c:59
fla_copy_t * flash_copy_cntl
Definition: FLASH_Copy_cntl_init.c:15
unsigned int FLA_Check_error_level(void)
Definition: FLA_Check.c:18

◆ FLASH_Copyt()

FLA_Error FLASH_Copyt ( FLA_Trans  trans,
FLA_Obj  A,
FLA_Obj  B 
)

References FLA_Check_error_level(), FLA_Copyt_check(), FLA_Copyt_internal(), FLASH_Queue_disable(), FLASH_Queue_enable(), and FLASH_Queue_get_enabled().

16 {
17  FLA_Error r_val;
18  FLA_Bool enable_supermatrix;
19 
20  // Check parameters.
21  if ( FLA_Check_error_level() >= FLA_MIN_ERROR_CHECKING )
22  FLA_Copyt_check( trans, A, B );
23 
24  // Find the status of SuperMatrix.
25  enable_supermatrix = FLASH_Queue_get_enabled();
26 
27  // Temporarily disable SuperMatrix.
29 
30  // Execute tasks.
31  r_val = FLA_Copyt_internal( trans, A, B, flash_copyt_cntl );
32 
33  // Restore SuperMatrix to its previous status.
34  if ( enable_supermatrix )
36 
37  return r_val;
38 }
FLA_Error FLA_Copyt_internal(FLA_Trans trans, FLA_Obj A, FLA_Obj B, fla_copyt_t *cntl)
Definition: FLA_Copyt_internal.c:16
FLA_Error FLASH_Queue_disable(void)
Definition: FLASH_Queue.c:144
int FLA_Error
Definition: FLA_type_defs.h:47
FLA_Bool FLASH_Queue_get_enabled(void)
Definition: FLASH_Queue.c:171
fla_copyt_t * flash_copyt_cntl
Definition: FLASH_Copyt_cntl_init.c:16
FLA_Error FLA_Copyt_check(FLA_Trans trans, FLA_Obj A, FLA_Obj B)
Definition: FLA_Copyt_check.c:13
unsigned int FLA_Check_error_level(void)
Definition: FLA_Check.c:18
int FLA_Bool
Definition: FLA_type_defs.h:46
FLA_Error FLASH_Queue_enable(void)
Definition: FLASH_Queue.c:117

◆ FLASH_Scal()

FLA_Error FLASH_Scal ( FLA_Obj  alpha,
FLA_Obj  A 
)

References FLA_Check_error_level(), FLA_Scal_check(), FLA_Scal_internal(), FLASH_Queue_disable(), FLASH_Queue_enable(), and FLASH_Queue_get_enabled().

16 {
17  FLA_Error r_val;
18  FLA_Bool enable_supermatrix;
19 
20  // Check parameters.
21  if ( FLA_Check_error_level() >= FLA_MIN_ERROR_CHECKING )
22  FLA_Scal_check( alpha, A );
23 
24  // Find the status of SuperMatrix.
25  enable_supermatrix = FLASH_Queue_get_enabled();
26 
27  // Temporarily disable SuperMatrix.
29 
30  // Execute tasks.
31  r_val = FLA_Scal_internal( alpha, A, flash_scal_cntl );
32 
33  // Restore SuperMatrix to its previous status.
34  if ( enable_supermatrix )
36 
37  return r_val;
38 }
fla_scal_t * flash_scal_cntl
Definition: FLASH_Scal_cntl_init.c:16
FLA_Error FLA_Scal_check(FLA_Obj alpha, FLA_Obj A)
Definition: FLA_Scal_check.c:13
FLA_Error FLASH_Queue_disable(void)
Definition: FLASH_Queue.c:144
int FLA_Error
Definition: FLA_type_defs.h:47
FLA_Bool FLASH_Queue_get_enabled(void)
Definition: FLASH_Queue.c:171
unsigned int FLA_Check_error_level(void)
Definition: FLA_Check.c:18
int FLA_Bool
Definition: FLA_type_defs.h:46
FLA_Error FLA_Scal_internal(FLA_Obj alpha, FLA_Obj A, fla_scal_t *cntl)
Definition: FLA_Scal_internal.c:16
FLA_Error FLASH_Queue_enable(void)
Definition: FLASH_Queue.c:117

◆ FLASH_Scalr()

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

References FLA_Check_error_level(), FLA_Scalr_check(), FLA_Scalr_internal(), FLASH_Queue_disable(), FLASH_Queue_enable(), and FLASH_Queue_get_enabled().

16 {
17  FLA_Error r_val;
18  FLA_Bool enable_supermatrix;
19 
20  // Check parameters.
21  if ( FLA_Check_error_level() >= FLA_MIN_ERROR_CHECKING )
22  FLA_Scalr_check( uplo, alpha, A );
23 
24  // Find the status of SuperMatrix.
25  enable_supermatrix = FLASH_Queue_get_enabled();
26 
27  // Temporarily disable SuperMatrix.
29 
30  // Execute tasks.
31  r_val = FLA_Scalr_internal( uplo, alpha, A, flash_scalr_cntl );
32 
33  // Restore SuperMatrix to its previous status.
34  if ( enable_supermatrix )
36 
37  return r_val;
38 }
fla_scalr_t * flash_scalr_cntl
Definition: FLASH_Scalr_cntl_init.c:16
FLA_Error FLA_Scalr_check(FLA_Uplo uplo, FLA_Obj alpha, FLA_Obj A)
Definition: FLA_Scalr_check.c:13
FLA_Error FLASH_Queue_disable(void)
Definition: FLASH_Queue.c:144
int FLA_Error
Definition: FLA_type_defs.h:47
FLA_Bool FLASH_Queue_get_enabled(void)
Definition: FLASH_Queue.c:171
unsigned int FLA_Check_error_level(void)
Definition: FLA_Check.c:18
FLA_Error FLA_Scalr_internal(FLA_Uplo uplo, FLA_Obj alpha, FLA_Obj A, fla_scalr_t *cntl)
Definition: FLA_Scalr_internal.c:16
int FLA_Bool
Definition: FLA_type_defs.h:46
FLA_Error FLASH_Queue_enable(void)
Definition: FLASH_Queue.c:117