libflame  revision_anchor
Functions
FLA_Axpyt_t.c File Reference

(r)

Functions

FLA_Error FLA_Axpyt_t (FLA_Obj alpha, FLA_Obj A, FLA_Obj B, fla_axpyt_t *cntl)
 

Function Documentation

◆ FLA_Axpyt_t()

FLA_Error FLA_Axpyt_t ( FLA_Obj  alpha,
FLA_Obj  A,
FLA_Obj  B,
fla_axpyt_t cntl 
)
14 {
15  FLA_Error r_val = FLA_SUCCESS;
16 
17  if ( FLA_Cntl_variant( cntl ) == FLA_SUBPROBLEM )
18  {
19  r_val = FLA_Axpyt_t_task( alpha, A, B, cntl );
20  }
21  else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT1 )
22  {
23  r_val = FLA_Axpyt_t_blk_var1( alpha, 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_Axpyt_t_blk_var2( alpha, A, B, cntl );
29  }
30 #endif
31  else if ( FLA_Cntl_variant( cntl ) == FLA_BLOCKED_VARIANT3 )
32  {
33  r_val = FLA_Axpyt_t_blk_var3( alpha, 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_Axpyt_t_blk_var4( alpha, 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_Axpyt_t_blk_var3(FLA_Obj alpha, FLA_Obj A, FLA_Obj B, fla_axpyt_t *cntl)
Definition: FLA_Axpyt_t_blk_var3.c:13
FLA_Error FLA_Axpyt_t_blk_var2(FLA_Obj alpha, FLA_Obj A, FLA_Obj B, fla_axpyt_t *cntl)
Definition: FLA_Axpyt_t_blk_var2.c:13
FLA_Error FLA_Axpyt_t_blk_var1(FLA_Obj alpha, FLA_Obj A, FLA_Obj B, fla_axpyt_t *cntl)
Definition: FLA_Axpyt_t_blk_var1.c:13
FLA_Error FLA_Axpyt_t_blk_var4(FLA_Obj alpha, FLA_Obj A, FLA_Obj B, fla_axpyt_t *cntl)
Definition: FLA_Axpyt_t_blk_var4.c:13
FLA_Error FLA_Axpyt_t_task(FLA_Obj alpha, FLA_Obj A, FLA_Obj B, fla_axpyt_t *cntl)
Definition: FLA_Axpyt_task.c:23
int FLA_Error
Definition: FLA_type_defs.h:47

References FLA_Axpyt_t_blk_var1(), FLA_Axpyt_t_blk_var2(), FLA_Axpyt_t_blk_var3(), FLA_Axpyt_t_blk_var4(), and FLA_Axpyt_t_task().

Referenced by FLA_Axpyt_internal().