mirror of
https://github.com/amd/blis.git
synced 2026-05-03 05:51:13 +00:00
Replaced use of bool_t type with C99 bool.
Details: - Textually replaced nearly all non-comment instances of bool_t with the C99 bool type. A few remaining instances, such as those in the files bli_herk_x_ker_var2.c, bli_trmm_xx_ker_var2.c, and bli_trsm_xx_ker_var2.c, were promoted to dim_t since they were being used not for boolean purposes but to index into an array. - This commit constitutes the third phase of a transition toward using C99's bool instead of bool_t, which was raised in issue #420. The first phase, which cleaned up various typecasts in preparation for using bool as the basis for bool_t (instead of gint_t), was implemented by commita69a4d7. The second phase, which redefined the bool_t typedef in terms of bool (from gint_t), was implemented by commit2c554c2.
This commit is contained in:
@@ -73,7 +73,7 @@ void bli_thread_range_sub
|
||||
thrinfo_t* thread,
|
||||
dim_t n,
|
||||
dim_t bf,
|
||||
bool_t handle_edge_low,
|
||||
bool handle_edge_low,
|
||||
dim_t* start,
|
||||
dim_t* end
|
||||
);
|
||||
@@ -130,7 +130,7 @@ dim_t bli_thread_range_width_l
|
||||
dim_t bf,
|
||||
dim_t bf_left,
|
||||
double area_per_thr,
|
||||
bool_t handle_edge_low
|
||||
bool handle_edge_low
|
||||
);
|
||||
siz_t bli_find_area_trap_l
|
||||
(
|
||||
@@ -146,7 +146,7 @@ siz_t bli_thread_range_weighted_sub
|
||||
dim_t m,
|
||||
dim_t n,
|
||||
dim_t bf,
|
||||
bool_t handle_edge_low,
|
||||
bool handle_edge_low,
|
||||
dim_t* restrict j_start_thr,
|
||||
dim_t* restrict j_end_thr
|
||||
);
|
||||
@@ -201,7 +201,7 @@ BLIS_INLINE void bli_thread_range_jrir_rr
|
||||
thrinfo_t* thread,
|
||||
dim_t n,
|
||||
dim_t bf,
|
||||
bool_t handle_edge_low,
|
||||
bool handle_edge_low,
|
||||
dim_t* start,
|
||||
dim_t* end,
|
||||
dim_t* inc
|
||||
@@ -218,7 +218,7 @@ BLIS_INLINE void bli_thread_range_jrir_sl
|
||||
thrinfo_t* thread,
|
||||
dim_t n,
|
||||
dim_t bf,
|
||||
bool_t handle_edge_low,
|
||||
bool handle_edge_low,
|
||||
dim_t* start,
|
||||
dim_t* end,
|
||||
dim_t* inc
|
||||
@@ -234,7 +234,7 @@ BLIS_INLINE void bli_thread_range_jrir
|
||||
thrinfo_t* thread,
|
||||
dim_t n,
|
||||
dim_t bf,
|
||||
bool_t handle_edge_low,
|
||||
bool handle_edge_low,
|
||||
dim_t* start,
|
||||
dim_t* end,
|
||||
dim_t* inc
|
||||
@@ -259,7 +259,7 @@ BLIS_INLINE void bli_thread_range_weighted_jrir
|
||||
dim_t m,
|
||||
dim_t n,
|
||||
dim_t bf,
|
||||
bool_t handle_edge_low,
|
||||
bool handle_edge_low,
|
||||
dim_t* start,
|
||||
dim_t* end,
|
||||
dim_t* inc
|
||||
|
||||
Reference in New Issue
Block a user