mirror of
https://github.com/amd/blis.git
synced 2026-05-11 09:39:59 +00:00
Renamed files that distinguish basic/expert APIs.
Details:
- Renamed various files that were previously named according to a
"with context" or "without context" convention. For example, the
following files in frame/3 were renamed:
frame/3/bli_l3_oapi_woc.c -> frame/3/bli_l3_oapi_ba.c
frame/3/bli_l3_oapi_wc.c -> frame/3/bli_l3_oapi_ex.c
frame/3/bli_l3_tapi_woc.c -> frame/3/bli_l3_tapi_ba.c
frame/3/bli_l3_tapi_wc.c -> frame/3/bli_l3_tapi_ex.c
Here, the "ba" is for "basic" and "ex" is for "expert". This new
naming scheme will make more sense especially if/when additional
expert parameters are added to the expert APIs (typed and object).
This commit is contained in:
@@ -37,15 +37,15 @@
|
||||
#include "bli_l1v_ft.h"
|
||||
|
||||
// Prototype object APIs (expert and non-expert).
|
||||
#include "bli_oapi_w_cntx.h"
|
||||
#include "bli_oapi_ex.h"
|
||||
#include "bli_l1v_oapi.h"
|
||||
#include "bli_oapi_wo_cntx.h"
|
||||
#include "bli_oapi_ba.h"
|
||||
#include "bli_l1v_oapi.h"
|
||||
|
||||
// Prototype typed APIs (expert and non-expert).
|
||||
#include "bli_tapi_w_cntx.h"
|
||||
#include "bli_tapi_ex.h"
|
||||
#include "bli_l1v_tapi.h"
|
||||
#include "bli_tapi_wo_cntx.h"
|
||||
#include "bli_tapi_ba.h"
|
||||
#include "bli_l1v_tapi.h"
|
||||
|
||||
// Pack-related
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// omitting expert parameters.
|
||||
#include "bli_oapi_wo_cntx.h"
|
||||
#include "bli_oapi_ba.h"
|
||||
|
||||
// Define the macro protecting the object API definitions.
|
||||
#define BLIS_ENABLE_OAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// having expert parameters.
|
||||
#include "bli_oapi_w_cntx.h"
|
||||
#include "bli_oapi_ex.h"
|
||||
|
||||
// Define the macro protecting the object API definitions.
|
||||
#define BLIS_ENABLE_OAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// omitting expert parameters.
|
||||
#include "bli_tapi_wo_cntx.h"
|
||||
#include "bli_tapi_ba.h"
|
||||
|
||||
// Define the macro protecting the typed API definitions.
|
||||
#define BLIS_ENABLE_TAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// having expert parameters.
|
||||
#include "bli_tapi_w_cntx.h"
|
||||
#include "bli_tapi_ex.h"
|
||||
|
||||
// Define the macro protecting the typed API definitions.
|
||||
#define BLIS_ENABLE_TAPI
|
||||
@@ -35,15 +35,15 @@
|
||||
#include "bli_l1d_check.h"
|
||||
|
||||
// Prototype object APIs (expert and non-expert).
|
||||
#include "bli_oapi_w_cntx.h"
|
||||
#include "bli_oapi_ex.h"
|
||||
#include "bli_l1d_oapi.h"
|
||||
#include "bli_oapi_wo_cntx.h"
|
||||
#include "bli_oapi_ba.h"
|
||||
#include "bli_l1d_oapi.h"
|
||||
|
||||
// Prototype typed APIs (expert and non-expert).
|
||||
#include "bli_tapi_w_cntx.h"
|
||||
#include "bli_tapi_ex.h"
|
||||
#include "bli_l1d_tapi.h"
|
||||
#include "bli_tapi_wo_cntx.h"
|
||||
#include "bli_tapi_ba.h"
|
||||
#include "bli_l1d_tapi.h"
|
||||
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// omitting expert parameters.
|
||||
#include "bli_oapi_wo_cntx.h"
|
||||
#include "bli_oapi_ba.h"
|
||||
|
||||
// Define the macro protecting the object API definitions.
|
||||
#define BLIS_ENABLE_OAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// having expert parameters.
|
||||
#include "bli_oapi_w_cntx.h"
|
||||
#include "bli_oapi_ex.h"
|
||||
|
||||
// Define the macro protecting the object API definitions.
|
||||
#define BLIS_ENABLE_OAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// omitting expert parameters.
|
||||
#include "bli_tapi_wo_cntx.h"
|
||||
#include "bli_tapi_ba.h"
|
||||
|
||||
// Define the macro protecting the typed API definitions.
|
||||
#define BLIS_ENABLE_TAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// having expert parameters.
|
||||
#include "bli_tapi_w_cntx.h"
|
||||
#include "bli_tapi_ex.h"
|
||||
|
||||
// Define the macro protecting the typed API definitions.
|
||||
#define BLIS_ENABLE_TAPI
|
||||
@@ -37,15 +37,15 @@
|
||||
#include "bli_l1f_ft.h"
|
||||
|
||||
// Prototype object APIs (expert and non-expert).
|
||||
#include "bli_oapi_w_cntx.h"
|
||||
#include "bli_oapi_ex.h"
|
||||
#include "bli_l1f_oapi.h"
|
||||
#include "bli_oapi_wo_cntx.h"
|
||||
#include "bli_oapi_ba.h"
|
||||
#include "bli_l1f_oapi.h"
|
||||
|
||||
// Prototype typed APIs (expert and non-expert).
|
||||
#include "bli_tapi_w_cntx.h"
|
||||
#include "bli_tapi_ex.h"
|
||||
#include "bli_l1f_tapi.h"
|
||||
#include "bli_tapi_wo_cntx.h"
|
||||
#include "bli_tapi_ba.h"
|
||||
#include "bli_l1f_tapi.h"
|
||||
|
||||
// Reference kernel headers
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// omitting expert parameters.
|
||||
#include "bli_oapi_wo_cntx.h"
|
||||
#include "bli_oapi_ba.h"
|
||||
|
||||
// Define the macro protecting the object API definitions.
|
||||
#define BLIS_ENABLE_OAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// having expert parameters.
|
||||
#include "bli_oapi_w_cntx.h"
|
||||
#include "bli_oapi_ex.h"
|
||||
|
||||
// Define the macro protecting the object API definitions.
|
||||
#define BLIS_ENABLE_OAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// omitting expert parameters.
|
||||
#include "bli_tapi_wo_cntx.h"
|
||||
#include "bli_tapi_ba.h"
|
||||
|
||||
// Define the macro protecting the typed API definitions.
|
||||
#define BLIS_ENABLE_TAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// having expert parameters.
|
||||
#include "bli_tapi_w_cntx.h"
|
||||
#include "bli_tapi_ex.h"
|
||||
|
||||
// Define the macro protecting the typed API definitions.
|
||||
#define BLIS_ENABLE_TAPI
|
||||
@@ -38,15 +38,15 @@
|
||||
#include "bli_l1m_voft.h"
|
||||
|
||||
// Prototype object APIs (expert and non-expert).
|
||||
#include "bli_oapi_w_cntx.h"
|
||||
#include "bli_oapi_ex.h"
|
||||
#include "bli_l1m_oapi.h"
|
||||
#include "bli_oapi_wo_cntx.h"
|
||||
#include "bli_oapi_ba.h"
|
||||
#include "bli_l1m_oapi.h"
|
||||
|
||||
// Prototype typed APIs (expert and non-expert).
|
||||
#include "bli_tapi_w_cntx.h"
|
||||
#include "bli_tapi_ex.h"
|
||||
#include "bli_l1m_tapi.h"
|
||||
#include "bli_tapi_wo_cntx.h"
|
||||
#include "bli_tapi_ba.h"
|
||||
#include "bli_l1m_tapi.h"
|
||||
|
||||
#include "bli_l1m_unb_var1.h"
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// omitting expert parameters.
|
||||
#include "bli_oapi_wo_cntx.h"
|
||||
#include "bli_oapi_ba.h"
|
||||
|
||||
// Define the macro protecting the object API definitions.
|
||||
#define BLIS_ENABLE_OAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// having expert parameters.
|
||||
#include "bli_oapi_w_cntx.h"
|
||||
#include "bli_oapi_ex.h"
|
||||
|
||||
// Define the macro protecting the object API definitions.
|
||||
#define BLIS_ENABLE_OAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// omitting expert parameters.
|
||||
#include "bli_tapi_wo_cntx.h"
|
||||
#include "bli_tapi_ba.h"
|
||||
|
||||
// Define the macro protecting the typed API definitions.
|
||||
#define BLIS_ENABLE_TAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// having expert parameters.
|
||||
#include "bli_tapi_w_cntx.h"
|
||||
#include "bli_tapi_ex.h"
|
||||
|
||||
// Define the macro protecting the typed API definitions.
|
||||
#define BLIS_ENABLE_TAPI
|
||||
@@ -37,15 +37,15 @@
|
||||
#include "bli_l2_ft.h"
|
||||
|
||||
// Prototype object APIs (expert and non-expert).
|
||||
#include "bli_oapi_w_cntx.h"
|
||||
#include "bli_oapi_ex.h"
|
||||
#include "bli_l2_oapi.h"
|
||||
#include "bli_oapi_wo_cntx.h"
|
||||
#include "bli_oapi_ba.h"
|
||||
#include "bli_l2_oapi.h"
|
||||
|
||||
// Prototype typed APIs (expert and non-expert).
|
||||
#include "bli_tapi_w_cntx.h"
|
||||
#include "bli_tapi_ex.h"
|
||||
#include "bli_l2_tapi.h"
|
||||
#include "bli_tapi_wo_cntx.h"
|
||||
#include "bli_tapi_ba.h"
|
||||
#include "bli_l2_tapi.h"
|
||||
|
||||
// Operation-specific headers
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// omitting expert parameters.
|
||||
#include "bli_oapi_wo_cntx.h"
|
||||
#include "bli_oapi_ba.h"
|
||||
|
||||
// Define the macro protecting the object API definitions.
|
||||
#define BLIS_ENABLE_OAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// having expert parameters.
|
||||
#include "bli_oapi_w_cntx.h"
|
||||
#include "bli_oapi_ex.h"
|
||||
|
||||
// Define the macro protecting the object API definitions.
|
||||
#define BLIS_ENABLE_OAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// omitting expert parameters.
|
||||
#include "bli_tapi_wo_cntx.h"
|
||||
#include "bli_tapi_ba.h"
|
||||
|
||||
// Define the macro protecting the typed API definitions.
|
||||
#define BLIS_ENABLE_TAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// having expert parameters.
|
||||
#include "bli_tapi_w_cntx.h"
|
||||
#include "bli_tapi_ex.h"
|
||||
|
||||
// Define the macro protecting the typed API definitions.
|
||||
#define BLIS_ENABLE_TAPI
|
||||
@@ -45,15 +45,15 @@
|
||||
#include "bli_l3_packm.h"
|
||||
|
||||
// Prototype object APIs (expert and non-expert).
|
||||
#include "bli_oapi_w_cntx.h"
|
||||
#include "bli_oapi_ex.h"
|
||||
#include "bli_l3_oapi.h"
|
||||
#include "bli_oapi_wo_cntx.h"
|
||||
#include "bli_oapi_ba.h"
|
||||
#include "bli_l3_oapi.h"
|
||||
|
||||
// Prototype typed APIs (expert and non-expert).
|
||||
#include "bli_tapi_w_cntx.h"
|
||||
#include "bli_tapi_ex.h"
|
||||
#include "bli_l3_tapi.h"
|
||||
#include "bli_tapi_wo_cntx.h"
|
||||
#include "bli_tapi_ba.h"
|
||||
#include "bli_l3_tapi.h"
|
||||
|
||||
#include "bli_l3_ukr_oapi.h"
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// omitting expert parameters.
|
||||
#include "bli_oapi_wo_cntx.h"
|
||||
#include "bli_oapi_ba.h"
|
||||
|
||||
// Define the macro protecting the object API definitions.
|
||||
#define BLIS_ENABLE_OAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// having expert parameters.
|
||||
#include "bli_oapi_w_cntx.h"
|
||||
#include "bli_oapi_ex.h"
|
||||
|
||||
// Define the macro protecting the object API definitions.
|
||||
#define BLIS_ENABLE_OAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// omitting expert parameters.
|
||||
#include "bli_tapi_wo_cntx.h"
|
||||
#include "bli_tapi_ba.h"
|
||||
|
||||
// Define the macro protecting the typed API definitions.
|
||||
#define BLIS_ENABLE_TAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// having expert parameters.
|
||||
#include "bli_tapi_w_cntx.h"
|
||||
#include "bli_tapi_ex.h"
|
||||
|
||||
// Define the macro protecting the typed API definitions.
|
||||
#define BLIS_ENABLE_TAPI
|
||||
@@ -32,20 +32,20 @@
|
||||
|
||||
*/
|
||||
|
||||
// This file defines macros used to allow the _oapi.c files to
|
||||
// produce object APIs that omit context parameters.
|
||||
// This file defines macros used to allow the _oapi.c files to produce
|
||||
// object APIs that omit expert parameters.
|
||||
|
||||
// Define the macro to remove the function name suffix (in function
|
||||
// definitions).
|
||||
#undef EX_SUF
|
||||
#define EX_SUF
|
||||
|
||||
// Define the macro to omit cntx_t* arguments from function signatures
|
||||
// Define the macro to omit expert arguments from function signatures
|
||||
// and prototypes.
|
||||
#undef BLIS_OAPI_EX_PARAMS
|
||||
#define BLIS_OAPI_EX_PARAMS
|
||||
|
||||
// Define the macro to declare a local cntx_t pointer that is initialized
|
||||
// Define the macro to declare a local expert variables that are initialized
|
||||
// to NULL.
|
||||
#undef BLIS_OAPI_EX_DECLS
|
||||
#define BLIS_OAPI_EX_DECLS cntx_t* cntx = NULL; ( void )cntx;
|
||||
@@ -32,21 +32,21 @@
|
||||
|
||||
*/
|
||||
|
||||
// This file defines macros used to allow the _oapi.c files to
|
||||
// produce object APIs that contain context parameters.
|
||||
// This file defines macros used to allow the _oapi.c files to produce
|
||||
// object APIs that contain context parameters.
|
||||
|
||||
// Define the macro to add a suffix to the object API function names
|
||||
// (in function definitions).
|
||||
#undef EX_SUF
|
||||
#define EX_SUF BLIS_OAPI_EX_SUF
|
||||
|
||||
// Define the macro to add cntx_t* arguments to function signatures
|
||||
// Define the macro to add expert arguments to function signatures
|
||||
// and prototypes.
|
||||
#undef BLIS_OAPI_EX_PARAMS
|
||||
#define BLIS_OAPI_EX_PARAMS ,cntx_t* cntx
|
||||
|
||||
// Define the macro to omit the cntx_t declaration block, since it is
|
||||
// not needed when cntx_t's are passed in through the API.
|
||||
// Define the macro to omit the expert variable declaration block, since
|
||||
// it is not needed when expert parameters are passed in through the API.
|
||||
#undef BLIS_OAPI_EX_DECLS
|
||||
#define BLIS_OAPI_EX_DECLS
|
||||
|
||||
@@ -32,20 +32,20 @@
|
||||
|
||||
*/
|
||||
|
||||
// This file defines macros used to allow the _tapi.c files to
|
||||
// produce typed APIs that omit context parameters.
|
||||
// This file defines macros used to allow the _oapi.c files to produce
|
||||
// typed APIs that omit expert parameters.
|
||||
|
||||
// Define the macro to remove the function name suffix (in function
|
||||
// definitions).
|
||||
#undef EX_SUF
|
||||
#define EX_SUF
|
||||
|
||||
// Define the macro to omit cntx_t* arguments from function signatures
|
||||
// Define the macro to omit expert arguments from function signatures
|
||||
// and prototypes.
|
||||
#undef BLIS_TAPI_EX_PARAMS
|
||||
#define BLIS_TAPI_EX_PARAMS
|
||||
|
||||
// Define the macro to declare a local cntx_t pointer that is initialized
|
||||
// Define the macro to declare a local expert variables that are initialized
|
||||
// to NULL.
|
||||
#undef BLIS_TAPI_EX_DECLS
|
||||
#define BLIS_TAPI_EX_DECLS cntx_t* cntx = NULL; ( void )cntx;
|
||||
@@ -32,21 +32,21 @@
|
||||
|
||||
*/
|
||||
|
||||
// This file defines macros used to allow the _tapi.c files to
|
||||
// produce typed APIs that contain context parameters.
|
||||
// This file defines macros used to allow the _tapi.c files to produce
|
||||
// typed APIs that contain context parameters.
|
||||
|
||||
// Define the macro to add a suffix to the typed API function names
|
||||
// (in function definitions).
|
||||
#undef EX_SUF
|
||||
#define EX_SUF BLIS_TAPI_EX_SUF
|
||||
|
||||
// Define the macro to add cntx_t* arguments to function signatures
|
||||
// Define the macro to add expert arguments to function signatures
|
||||
// and prototypes.
|
||||
#undef BLIS_TAPI_EX_PARAMS
|
||||
#define BLIS_TAPI_EX_PARAMS ,cntx_t* cntx
|
||||
|
||||
// Define the macro to omit the cntx_t declaration block, since it is
|
||||
// not needed when cntx_t's are passed in through the API.
|
||||
// Define the macro to omit the expert variable declaration block, since
|
||||
// it is not needed when expert parameters are passed in through the API.
|
||||
#undef BLIS_TAPI_EX_DECLS
|
||||
#define BLIS_TAPI_EX_DECLS
|
||||
|
||||
@@ -35,15 +35,15 @@
|
||||
#include "bli_util_check.h"
|
||||
|
||||
// Prototype object APIs (expert and non-expert).
|
||||
#include "bli_oapi_w_cntx.h"
|
||||
#include "bli_oapi_ex.h"
|
||||
#include "bli_util_oapi.h"
|
||||
#include "bli_oapi_wo_cntx.h"
|
||||
#include "bli_oapi_ba.h"
|
||||
#include "bli_util_oapi.h"
|
||||
|
||||
// Prototype typed APIs (expert and non-expert).
|
||||
#include "bli_tapi_w_cntx.h"
|
||||
#include "bli_tapi_ex.h"
|
||||
#include "bli_util_tapi.h"
|
||||
#include "bli_tapi_wo_cntx.h"
|
||||
#include "bli_tapi_ba.h"
|
||||
#include "bli_util_tapi.h"
|
||||
|
||||
#include "bli_util_unb_var1.h"
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// omitting expert parameters.
|
||||
#include "bli_oapi_wo_cntx.h"
|
||||
#include "bli_oapi_ba.h"
|
||||
|
||||
// Define the macro protecting the object API definitions.
|
||||
#define BLIS_ENABLE_OAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// having expert parameters.
|
||||
#include "bli_oapi_w_cntx.h"
|
||||
#include "bli_oapi_ex.h"
|
||||
|
||||
// Define the macro protecting the object API definitions.
|
||||
#define BLIS_ENABLE_OAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// omitting expert parameters.
|
||||
#include "bli_tapi_wo_cntx.h"
|
||||
#include "bli_tapi_ba.h"
|
||||
|
||||
// Define the macro protecting the typed API definitions.
|
||||
#define BLIS_ENABLE_TAPI
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
// Include cpp macros that instantiate the API definition templates as
|
||||
// having expert parameters.
|
||||
#include "bli_tapi_w_cntx.h"
|
||||
#include "bli_tapi_ex.h"
|
||||
|
||||
// Define the macro protecting the typed API definitions.
|
||||
#define BLIS_ENABLE_TAPI
|
||||
Reference in New Issue
Block a user