libflame  revision_anchor
Functions
FLA_Copyt_t.c File Reference

(r)

Functions

FLA_Error FLA_Copyt_t (FLA_Obj A, FLA_Obj B, fla_copyt_t *cntl)
 

Function Documentation

◆ FLA_Copyt_t()

FLA_Error FLA_Copyt_t ( FLA_Obj  A,
FLA_Obj  B,
fla_copyt_t cntl 
)

References FLA_Copyt_t_blk_var1(), FLA_Copyt_t_blk_var2(), FLA_Copyt_t_blk_var3(), FLA_Copyt_t_blk_var4(), and FLA_Copyt_t_task().

Referenced by FLA_Copyt_internal().

14 {
15  FLA_Error r_val = FLA_SUCCESS;
16 
17  if ( FLA_Cntl_variant( cntl ) == FLA_SUBPROBLEM )
18  {
19  r_val = FLA_Copyt_t_task( A, B, cntl );
20  }
21  else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT1 )
22  {
23  r_val = FLA_Copyt_t_blk_var1( A, B, cntl );
24  }
25 #ifdef FLA_ENABLE_NON_CRITICAL_CODE
26  else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT2 )
27  {
28  r_val = FLA_Copyt_t_blk_var2( A, B, cntl );
29  }
30 #endif
31  else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT3 )
32  {
33  r_val = FLA_Copyt_t_blk_var3( A, B, cntl );
34  }
35 #ifdef FLA_ENABLE_NON_CRITICAL_CODE
36  else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT4 )
37  {
38  r_val = FLA_Copyt_t_blk_var4( A, B, cntl );
39  }
40 #endif
41  else
42  {
43  r_val = FLA_Check_error_code( FLA_NOT_YET_IMPLEMENTED );
44  }
45 
46  return r_val;
47 }
FLA_Error FLA_Copyt_t_task(FLA_Obj A, FLA_Obj B, fla_copyt_t *cntl)
Definition: FLA_Copyt_task.c:23
FLA_Error FLA_Copyt_t_blk_var2(FLA_Obj A, FLA_Obj B, fla_copyt_t *cntl)
Definition: FLA_Copyt_t_blk_var2.c:13
FLA_Error FLA_Copyt_t_blk_var3(FLA_Obj A, FLA_Obj B, fla_copyt_t *cntl)
Definition: FLA_Copyt_t_blk_var3.c:13
FLA_Error FLA_Copyt_t_blk_var1(FLA_Obj A, FLA_Obj B, fla_copyt_t *cntl)
Definition: FLA_Copyt_t_blk_var1.c:13
int FLA_Error
Definition: FLA_type_defs.h:47
FLA_Error FLA_Copyt_t_blk_var4(FLA_Obj A, FLA_Obj B, fla_copyt_t *cntl)
Definition: FLA_Copyt_t_blk_var4.c:13