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"
|
#include "bli_l1v_ft.h"
|
||||||
|
|
||||||
// Prototype object APIs (expert and non-expert).
|
// 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_l1v_oapi.h"
|
||||||
#include "bli_oapi_wo_cntx.h"
|
#include "bli_oapi_ba.h"
|
||||||
#include "bli_l1v_oapi.h"
|
#include "bli_l1v_oapi.h"
|
||||||
|
|
||||||
// Prototype typed APIs (expert and non-expert).
|
// 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_l1v_tapi.h"
|
||||||
#include "bli_tapi_wo_cntx.h"
|
#include "bli_tapi_ba.h"
|
||||||
#include "bli_l1v_tapi.h"
|
#include "bli_l1v_tapi.h"
|
||||||
|
|
||||||
// Pack-related
|
// Pack-related
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// omitting expert parameters.
|
// omitting expert parameters.
|
||||||
#include "bli_oapi_wo_cntx.h"
|
#include "bli_oapi_ba.h"
|
||||||
|
|
||||||
// Define the macro protecting the object API definitions.
|
// Define the macro protecting the object API definitions.
|
||||||
#define BLIS_ENABLE_OAPI
|
#define BLIS_ENABLE_OAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// having expert parameters.
|
// having expert parameters.
|
||||||
#include "bli_oapi_w_cntx.h"
|
#include "bli_oapi_ex.h"
|
||||||
|
|
||||||
// Define the macro protecting the object API definitions.
|
// Define the macro protecting the object API definitions.
|
||||||
#define BLIS_ENABLE_OAPI
|
#define BLIS_ENABLE_OAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// omitting expert parameters.
|
// omitting expert parameters.
|
||||||
#include "bli_tapi_wo_cntx.h"
|
#include "bli_tapi_ba.h"
|
||||||
|
|
||||||
// Define the macro protecting the typed API definitions.
|
// Define the macro protecting the typed API definitions.
|
||||||
#define BLIS_ENABLE_TAPI
|
#define BLIS_ENABLE_TAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// having expert parameters.
|
// having expert parameters.
|
||||||
#include "bli_tapi_w_cntx.h"
|
#include "bli_tapi_ex.h"
|
||||||
|
|
||||||
// Define the macro protecting the typed API definitions.
|
// Define the macro protecting the typed API definitions.
|
||||||
#define BLIS_ENABLE_TAPI
|
#define BLIS_ENABLE_TAPI
|
||||||
@@ -35,15 +35,15 @@
|
|||||||
#include "bli_l1d_check.h"
|
#include "bli_l1d_check.h"
|
||||||
|
|
||||||
// Prototype object APIs (expert and non-expert).
|
// 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_l1d_oapi.h"
|
||||||
#include "bli_oapi_wo_cntx.h"
|
#include "bli_oapi_ba.h"
|
||||||
#include "bli_l1d_oapi.h"
|
#include "bli_l1d_oapi.h"
|
||||||
|
|
||||||
// Prototype typed APIs (expert and non-expert).
|
// 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_l1d_tapi.h"
|
||||||
#include "bli_tapi_wo_cntx.h"
|
#include "bli_tapi_ba.h"
|
||||||
#include "bli_l1d_tapi.h"
|
#include "bli_l1d_tapi.h"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// omitting expert parameters.
|
// omitting expert parameters.
|
||||||
#include "bli_oapi_wo_cntx.h"
|
#include "bli_oapi_ba.h"
|
||||||
|
|
||||||
// Define the macro protecting the object API definitions.
|
// Define the macro protecting the object API definitions.
|
||||||
#define BLIS_ENABLE_OAPI
|
#define BLIS_ENABLE_OAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// having expert parameters.
|
// having expert parameters.
|
||||||
#include "bli_oapi_w_cntx.h"
|
#include "bli_oapi_ex.h"
|
||||||
|
|
||||||
// Define the macro protecting the object API definitions.
|
// Define the macro protecting the object API definitions.
|
||||||
#define BLIS_ENABLE_OAPI
|
#define BLIS_ENABLE_OAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// omitting expert parameters.
|
// omitting expert parameters.
|
||||||
#include "bli_tapi_wo_cntx.h"
|
#include "bli_tapi_ba.h"
|
||||||
|
|
||||||
// Define the macro protecting the typed API definitions.
|
// Define the macro protecting the typed API definitions.
|
||||||
#define BLIS_ENABLE_TAPI
|
#define BLIS_ENABLE_TAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// having expert parameters.
|
// having expert parameters.
|
||||||
#include "bli_tapi_w_cntx.h"
|
#include "bli_tapi_ex.h"
|
||||||
|
|
||||||
// Define the macro protecting the typed API definitions.
|
// Define the macro protecting the typed API definitions.
|
||||||
#define BLIS_ENABLE_TAPI
|
#define BLIS_ENABLE_TAPI
|
||||||
@@ -37,15 +37,15 @@
|
|||||||
#include "bli_l1f_ft.h"
|
#include "bli_l1f_ft.h"
|
||||||
|
|
||||||
// Prototype object APIs (expert and non-expert).
|
// 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_l1f_oapi.h"
|
||||||
#include "bli_oapi_wo_cntx.h"
|
#include "bli_oapi_ba.h"
|
||||||
#include "bli_l1f_oapi.h"
|
#include "bli_l1f_oapi.h"
|
||||||
|
|
||||||
// Prototype typed APIs (expert and non-expert).
|
// 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_l1f_tapi.h"
|
||||||
#include "bli_tapi_wo_cntx.h"
|
#include "bli_tapi_ba.h"
|
||||||
#include "bli_l1f_tapi.h"
|
#include "bli_l1f_tapi.h"
|
||||||
|
|
||||||
// Reference kernel headers
|
// Reference kernel headers
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// omitting expert parameters.
|
// omitting expert parameters.
|
||||||
#include "bli_oapi_wo_cntx.h"
|
#include "bli_oapi_ba.h"
|
||||||
|
|
||||||
// Define the macro protecting the object API definitions.
|
// Define the macro protecting the object API definitions.
|
||||||
#define BLIS_ENABLE_OAPI
|
#define BLIS_ENABLE_OAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// having expert parameters.
|
// having expert parameters.
|
||||||
#include "bli_oapi_w_cntx.h"
|
#include "bli_oapi_ex.h"
|
||||||
|
|
||||||
// Define the macro protecting the object API definitions.
|
// Define the macro protecting the object API definitions.
|
||||||
#define BLIS_ENABLE_OAPI
|
#define BLIS_ENABLE_OAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// omitting expert parameters.
|
// omitting expert parameters.
|
||||||
#include "bli_tapi_wo_cntx.h"
|
#include "bli_tapi_ba.h"
|
||||||
|
|
||||||
// Define the macro protecting the typed API definitions.
|
// Define the macro protecting the typed API definitions.
|
||||||
#define BLIS_ENABLE_TAPI
|
#define BLIS_ENABLE_TAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// having expert parameters.
|
// having expert parameters.
|
||||||
#include "bli_tapi_w_cntx.h"
|
#include "bli_tapi_ex.h"
|
||||||
|
|
||||||
// Define the macro protecting the typed API definitions.
|
// Define the macro protecting the typed API definitions.
|
||||||
#define BLIS_ENABLE_TAPI
|
#define BLIS_ENABLE_TAPI
|
||||||
@@ -38,15 +38,15 @@
|
|||||||
#include "bli_l1m_voft.h"
|
#include "bli_l1m_voft.h"
|
||||||
|
|
||||||
// Prototype object APIs (expert and non-expert).
|
// 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_l1m_oapi.h"
|
||||||
#include "bli_oapi_wo_cntx.h"
|
#include "bli_oapi_ba.h"
|
||||||
#include "bli_l1m_oapi.h"
|
#include "bli_l1m_oapi.h"
|
||||||
|
|
||||||
// Prototype typed APIs (expert and non-expert).
|
// 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_l1m_tapi.h"
|
||||||
#include "bli_tapi_wo_cntx.h"
|
#include "bli_tapi_ba.h"
|
||||||
#include "bli_l1m_tapi.h"
|
#include "bli_l1m_tapi.h"
|
||||||
|
|
||||||
#include "bli_l1m_unb_var1.h"
|
#include "bli_l1m_unb_var1.h"
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// omitting expert parameters.
|
// omitting expert parameters.
|
||||||
#include "bli_oapi_wo_cntx.h"
|
#include "bli_oapi_ba.h"
|
||||||
|
|
||||||
// Define the macro protecting the object API definitions.
|
// Define the macro protecting the object API definitions.
|
||||||
#define BLIS_ENABLE_OAPI
|
#define BLIS_ENABLE_OAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// having expert parameters.
|
// having expert parameters.
|
||||||
#include "bli_oapi_w_cntx.h"
|
#include "bli_oapi_ex.h"
|
||||||
|
|
||||||
// Define the macro protecting the object API definitions.
|
// Define the macro protecting the object API definitions.
|
||||||
#define BLIS_ENABLE_OAPI
|
#define BLIS_ENABLE_OAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// omitting expert parameters.
|
// omitting expert parameters.
|
||||||
#include "bli_tapi_wo_cntx.h"
|
#include "bli_tapi_ba.h"
|
||||||
|
|
||||||
// Define the macro protecting the typed API definitions.
|
// Define the macro protecting the typed API definitions.
|
||||||
#define BLIS_ENABLE_TAPI
|
#define BLIS_ENABLE_TAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// having expert parameters.
|
// having expert parameters.
|
||||||
#include "bli_tapi_w_cntx.h"
|
#include "bli_tapi_ex.h"
|
||||||
|
|
||||||
// Define the macro protecting the typed API definitions.
|
// Define the macro protecting the typed API definitions.
|
||||||
#define BLIS_ENABLE_TAPI
|
#define BLIS_ENABLE_TAPI
|
||||||
@@ -37,15 +37,15 @@
|
|||||||
#include "bli_l2_ft.h"
|
#include "bli_l2_ft.h"
|
||||||
|
|
||||||
// Prototype object APIs (expert and non-expert).
|
// 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_l2_oapi.h"
|
||||||
#include "bli_oapi_wo_cntx.h"
|
#include "bli_oapi_ba.h"
|
||||||
#include "bli_l2_oapi.h"
|
#include "bli_l2_oapi.h"
|
||||||
|
|
||||||
// Prototype typed APIs (expert and non-expert).
|
// 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_l2_tapi.h"
|
||||||
#include "bli_tapi_wo_cntx.h"
|
#include "bli_tapi_ba.h"
|
||||||
#include "bli_l2_tapi.h"
|
#include "bli_l2_tapi.h"
|
||||||
|
|
||||||
// Operation-specific headers
|
// Operation-specific headers
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// omitting expert parameters.
|
// omitting expert parameters.
|
||||||
#include "bli_oapi_wo_cntx.h"
|
#include "bli_oapi_ba.h"
|
||||||
|
|
||||||
// Define the macro protecting the object API definitions.
|
// Define the macro protecting the object API definitions.
|
||||||
#define BLIS_ENABLE_OAPI
|
#define BLIS_ENABLE_OAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// having expert parameters.
|
// having expert parameters.
|
||||||
#include "bli_oapi_w_cntx.h"
|
#include "bli_oapi_ex.h"
|
||||||
|
|
||||||
// Define the macro protecting the object API definitions.
|
// Define the macro protecting the object API definitions.
|
||||||
#define BLIS_ENABLE_OAPI
|
#define BLIS_ENABLE_OAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// omitting expert parameters.
|
// omitting expert parameters.
|
||||||
#include "bli_tapi_wo_cntx.h"
|
#include "bli_tapi_ba.h"
|
||||||
|
|
||||||
// Define the macro protecting the typed API definitions.
|
// Define the macro protecting the typed API definitions.
|
||||||
#define BLIS_ENABLE_TAPI
|
#define BLIS_ENABLE_TAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// having expert parameters.
|
// having expert parameters.
|
||||||
#include "bli_tapi_w_cntx.h"
|
#include "bli_tapi_ex.h"
|
||||||
|
|
||||||
// Define the macro protecting the typed API definitions.
|
// Define the macro protecting the typed API definitions.
|
||||||
#define BLIS_ENABLE_TAPI
|
#define BLIS_ENABLE_TAPI
|
||||||
@@ -45,15 +45,15 @@
|
|||||||
#include "bli_l3_packm.h"
|
#include "bli_l3_packm.h"
|
||||||
|
|
||||||
// Prototype object APIs (expert and non-expert).
|
// 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_l3_oapi.h"
|
||||||
#include "bli_oapi_wo_cntx.h"
|
#include "bli_oapi_ba.h"
|
||||||
#include "bli_l3_oapi.h"
|
#include "bli_l3_oapi.h"
|
||||||
|
|
||||||
// Prototype typed APIs (expert and non-expert).
|
// 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_l3_tapi.h"
|
||||||
#include "bli_tapi_wo_cntx.h"
|
#include "bli_tapi_ba.h"
|
||||||
#include "bli_l3_tapi.h"
|
#include "bli_l3_tapi.h"
|
||||||
|
|
||||||
#include "bli_l3_ukr_oapi.h"
|
#include "bli_l3_ukr_oapi.h"
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// omitting expert parameters.
|
// omitting expert parameters.
|
||||||
#include "bli_oapi_wo_cntx.h"
|
#include "bli_oapi_ba.h"
|
||||||
|
|
||||||
// Define the macro protecting the object API definitions.
|
// Define the macro protecting the object API definitions.
|
||||||
#define BLIS_ENABLE_OAPI
|
#define BLIS_ENABLE_OAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// having expert parameters.
|
// having expert parameters.
|
||||||
#include "bli_oapi_w_cntx.h"
|
#include "bli_oapi_ex.h"
|
||||||
|
|
||||||
// Define the macro protecting the object API definitions.
|
// Define the macro protecting the object API definitions.
|
||||||
#define BLIS_ENABLE_OAPI
|
#define BLIS_ENABLE_OAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// omitting expert parameters.
|
// omitting expert parameters.
|
||||||
#include "bli_tapi_wo_cntx.h"
|
#include "bli_tapi_ba.h"
|
||||||
|
|
||||||
// Define the macro protecting the typed API definitions.
|
// Define the macro protecting the typed API definitions.
|
||||||
#define BLIS_ENABLE_TAPI
|
#define BLIS_ENABLE_TAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// having expert parameters.
|
// having expert parameters.
|
||||||
#include "bli_tapi_w_cntx.h"
|
#include "bli_tapi_ex.h"
|
||||||
|
|
||||||
// Define the macro protecting the typed API definitions.
|
// Define the macro protecting the typed API definitions.
|
||||||
#define BLIS_ENABLE_TAPI
|
#define BLIS_ENABLE_TAPI
|
||||||
@@ -32,20 +32,20 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// This file defines macros used to allow the _oapi.c files to
|
// This file defines macros used to allow the _oapi.c files to produce
|
||||||
// produce object APIs that omit context parameters.
|
// object APIs that omit expert parameters.
|
||||||
|
|
||||||
// Define the macro to remove the function name suffix (in function
|
// Define the macro to remove the function name suffix (in function
|
||||||
// definitions).
|
// definitions).
|
||||||
#undef EX_SUF
|
#undef EX_SUF
|
||||||
#define 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.
|
// and prototypes.
|
||||||
#undef BLIS_OAPI_EX_PARAMS
|
#undef BLIS_OAPI_EX_PARAMS
|
||||||
#define 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.
|
// to NULL.
|
||||||
#undef BLIS_OAPI_EX_DECLS
|
#undef BLIS_OAPI_EX_DECLS
|
||||||
#define BLIS_OAPI_EX_DECLS cntx_t* cntx = NULL; ( void )cntx;
|
#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
|
// This file defines macros used to allow the _oapi.c files to produce
|
||||||
// produce object APIs that contain context parameters.
|
// object APIs that contain context parameters.
|
||||||
|
|
||||||
// Define the macro to add a suffix to the object API function names
|
// Define the macro to add a suffix to the object API function names
|
||||||
// (in function definitions).
|
// (in function definitions).
|
||||||
#undef EX_SUF
|
#undef EX_SUF
|
||||||
#define EX_SUF BLIS_OAPI_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.
|
// and prototypes.
|
||||||
#undef BLIS_OAPI_EX_PARAMS
|
#undef BLIS_OAPI_EX_PARAMS
|
||||||
#define BLIS_OAPI_EX_PARAMS ,cntx_t* cntx
|
#define BLIS_OAPI_EX_PARAMS ,cntx_t* cntx
|
||||||
|
|
||||||
// Define the macro to omit the cntx_t declaration block, since it is
|
// Define the macro to omit the expert variable declaration block, since
|
||||||
// not needed when cntx_t's are passed in through the API.
|
// it is not needed when expert parameters are passed in through the API.
|
||||||
#undef BLIS_OAPI_EX_DECLS
|
#undef BLIS_OAPI_EX_DECLS
|
||||||
#define 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
|
// This file defines macros used to allow the _oapi.c files to produce
|
||||||
// produce typed APIs that omit context parameters.
|
// typed APIs that omit expert parameters.
|
||||||
|
|
||||||
// Define the macro to remove the function name suffix (in function
|
// Define the macro to remove the function name suffix (in function
|
||||||
// definitions).
|
// definitions).
|
||||||
#undef EX_SUF
|
#undef EX_SUF
|
||||||
#define 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.
|
// and prototypes.
|
||||||
#undef BLIS_TAPI_EX_PARAMS
|
#undef BLIS_TAPI_EX_PARAMS
|
||||||
#define 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.
|
// to NULL.
|
||||||
#undef BLIS_TAPI_EX_DECLS
|
#undef BLIS_TAPI_EX_DECLS
|
||||||
#define BLIS_TAPI_EX_DECLS cntx_t* cntx = NULL; ( void )cntx;
|
#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
|
// This file defines macros used to allow the _tapi.c files to produce
|
||||||
// produce typed APIs that contain context parameters.
|
// typed APIs that contain context parameters.
|
||||||
|
|
||||||
// Define the macro to add a suffix to the typed API function names
|
// Define the macro to add a suffix to the typed API function names
|
||||||
// (in function definitions).
|
// (in function definitions).
|
||||||
#undef EX_SUF
|
#undef EX_SUF
|
||||||
#define EX_SUF BLIS_TAPI_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.
|
// and prototypes.
|
||||||
#undef BLIS_TAPI_EX_PARAMS
|
#undef BLIS_TAPI_EX_PARAMS
|
||||||
#define BLIS_TAPI_EX_PARAMS ,cntx_t* cntx
|
#define BLIS_TAPI_EX_PARAMS ,cntx_t* cntx
|
||||||
|
|
||||||
// Define the macro to omit the cntx_t declaration block, since it is
|
// Define the macro to omit the expert variable declaration block, since
|
||||||
// not needed when cntx_t's are passed in through the API.
|
// it is not needed when expert parameters are passed in through the API.
|
||||||
#undef BLIS_TAPI_EX_DECLS
|
#undef BLIS_TAPI_EX_DECLS
|
||||||
#define BLIS_TAPI_EX_DECLS
|
#define BLIS_TAPI_EX_DECLS
|
||||||
|
|
||||||
@@ -35,15 +35,15 @@
|
|||||||
#include "bli_util_check.h"
|
#include "bli_util_check.h"
|
||||||
|
|
||||||
// Prototype object APIs (expert and non-expert).
|
// 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_util_oapi.h"
|
||||||
#include "bli_oapi_wo_cntx.h"
|
#include "bli_oapi_ba.h"
|
||||||
#include "bli_util_oapi.h"
|
#include "bli_util_oapi.h"
|
||||||
|
|
||||||
// Prototype typed APIs (expert and non-expert).
|
// 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_util_tapi.h"
|
||||||
#include "bli_tapi_wo_cntx.h"
|
#include "bli_tapi_ba.h"
|
||||||
#include "bli_util_tapi.h"
|
#include "bli_util_tapi.h"
|
||||||
|
|
||||||
#include "bli_util_unb_var1.h"
|
#include "bli_util_unb_var1.h"
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// omitting expert parameters.
|
// omitting expert parameters.
|
||||||
#include "bli_oapi_wo_cntx.h"
|
#include "bli_oapi_ba.h"
|
||||||
|
|
||||||
// Define the macro protecting the object API definitions.
|
// Define the macro protecting the object API definitions.
|
||||||
#define BLIS_ENABLE_OAPI
|
#define BLIS_ENABLE_OAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// having expert parameters.
|
// having expert parameters.
|
||||||
#include "bli_oapi_w_cntx.h"
|
#include "bli_oapi_ex.h"
|
||||||
|
|
||||||
// Define the macro protecting the object API definitions.
|
// Define the macro protecting the object API definitions.
|
||||||
#define BLIS_ENABLE_OAPI
|
#define BLIS_ENABLE_OAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// omitting expert parameters.
|
// omitting expert parameters.
|
||||||
#include "bli_tapi_wo_cntx.h"
|
#include "bli_tapi_ba.h"
|
||||||
|
|
||||||
// Define the macro protecting the typed API definitions.
|
// Define the macro protecting the typed API definitions.
|
||||||
#define BLIS_ENABLE_TAPI
|
#define BLIS_ENABLE_TAPI
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Include cpp macros that instantiate the API definition templates as
|
// Include cpp macros that instantiate the API definition templates as
|
||||||
// having expert parameters.
|
// having expert parameters.
|
||||||
#include "bli_tapi_w_cntx.h"
|
#include "bli_tapi_ex.h"
|
||||||
|
|
||||||
// Define the macro protecting the typed API definitions.
|
// Define the macro protecting the typed API definitions.
|
||||||
#define BLIS_ENABLE_TAPI
|
#define BLIS_ENABLE_TAPI
|
||||||
Reference in New Issue
Block a user