libflame revision_anchor
FLASH_Copyt.c File Reference

(r)

Functions

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

Variables

fla_copyt_t * flash_copyt_cntl
 

Function Documentation

◆ FLASH_Copyt()

FLA_Error FLASH_Copyt ( FLA_Trans trans,
FLA_Obj A,
FLA_Obj B )
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_copyt_t * flash_copyt_cntl
Definition FLASH_Copyt_cntl_init.c:16
FLA_Bool FLASH_Queue_get_enabled(void)
Definition FLASH_Queue.c:171
FLA_Error FLASH_Queue_enable(void)
Definition FLASH_Queue.c:117
FLA_Error FLASH_Queue_disable(void)
Definition FLASH_Queue.c:144
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 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_Error
Definition FLA_type_defs.h:47
int FLA_Bool
Definition FLA_type_defs.h:46

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

Variable Documentation

◆ flash_copyt_cntl

fla_copyt_t* flash_copyt_cntl
extern