libflame  revision_anchor
Functions | Variables
FLASH_Trsv.c File Reference

(r)

Functions

FLA_Error FLASH_Trsv (FLA_Uplo uplo, FLA_Trans trans, FLA_Diag diag, FLA_Obj A, FLA_Obj x)
 

Variables

fla_trsv_tflash_trsv_cntl
 

Function Documentation

◆ FLASH_Trsv()

FLA_Error FLASH_Trsv ( FLA_Uplo  uplo,
FLA_Trans  trans,
FLA_Diag  diag,
FLA_Obj  A,
FLA_Obj  x 
)

References FLA_Check_error_level(), FLA_Trsv_check(), FLA_Trsv_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_Trsv_check( uplo, trans, diag, A, x );
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_Trsv_internal( uplo, trans, diag, A, x, flash_trsv_cntl );
32 
33  // Restore SuperMatrix to its previous status.
34  if ( enable_supermatrix )
36 
37  return r_val;
38 }
fla_trsv_t * flash_trsv_cntl
Definition: FLASH_Trsv_cntl_init.c:16
FLA_Error FLASH_Queue_disable(void)
Definition: FLASH_Queue.c:144
FLA_Error FLA_Trsv_check(FLA_Uplo uplo, FLA_Trans transa, FLA_Diag diag, FLA_Obj A, FLA_Obj x)
Definition: FLA_Trsv_check.c:13
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 FLASH_Queue_enable(void)
Definition: FLASH_Queue.c:117
FLA_Error FLA_Trsv_internal(FLA_Uplo uplo, FLA_Trans transa, FLA_Diag diag, FLA_Obj A, FLA_Obj x, fla_trsv_t *cntl)
Definition: FLA_Trsv_internal.c:16

Variable Documentation

◆ flash_trsv_cntl

fla_trsv_t* flash_trsv_cntl