Added Fortran APIs for some thread functions.

Details:
- Defined Fortran-77 compatible APIs for bli_thread_set_num_threads()
  and bli_thread_set_ways(). These wrappers are defined in
  frame/compat/blis/thread/b77_thread.c. Thanks to Kay Dewhurst for
  suggesting these new interfaces.
- Added missing prototype for bli_thread_set_ways() in bli_thread.h and
  removed prototypes for non-existent functions bli_thread_set_*_nt().
- CREDITS file update.
This commit is contained in:
Field G. Van Zee
2018-10-11 11:47:57 -05:00
parent 53a9ab1c85
commit 667d3929ee
5 changed files with 152 additions and 5 deletions

View File

@@ -204,11 +204,7 @@ dim_t bli_thread_get_jr_nt( void );
dim_t bli_thread_get_ir_nt( void );
dim_t bli_thread_get_num_threads( void );
void bli_thread_set_jc_nt( dim_t value );
void bli_thread_set_pc_nt( dim_t value );
void bli_thread_set_ic_nt( dim_t value );
void bli_thread_set_jr_nt( dim_t value );
void bli_thread_set_ir_nt( dim_t value );
void bli_thread_set_ways( dim_t jc, dim_t pc, dim_t ic, dim_t jr, dim_t ir );
void bli_thread_set_num_threads( dim_t value );
void bli_thread_init_rntm( rntm_t* rntm );