Skip to content

Commit

Permalink
Fix incorrect commenting of BLIS_RNTM_INITIALIZER and `BLIS_OBJECT_…
Browse files Browse the repository at this point in the history
…INITIALIZER`.
  • Loading branch information
devinamatthews committed Mar 28, 2024
1 parent 664cc6b commit a316d2c
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 51 deletions.
14 changes: 7 additions & 7 deletions frame/base/bli_rntm.h
Original file line number Diff line number Diff line change
Expand Up @@ -258,15 +258,15 @@ BLIS_INLINE void bli_rntm_clear_l3_sup( rntm_t* rntm )

#define BLIS_RNTM_INITIALIZER \
{ \
/* .thread_impl */ = BLIS_SINGLE, \
/* .thread_impl = */ BLIS_SINGLE, \
\
/* .auto_factor */ = FALSE, \
/* .auto_factor = */ FALSE, \
\
/* .num_threads */ = 1, \
/* .thrloop */ = { 1, 1, 1, 1, 1, 1 }, \
/* .pack_a */ = FALSE, \
/* .pack_b */ = FALSE, \
/* .l3_sup */ = TRUE, \
/* .num_threads = */ 1, \
/* .thrloop = */ { 1, 1, 1, 1, 1, 1 }, \
/* .pack_a = */ FALSE, \
/* .pack_b = */ FALSE, \
/* .l3_sup = */ TRUE, \
} \

#if 0
Expand Down
88 changes: 44 additions & 44 deletions frame/include/bli_type_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -1292,68 +1292,68 @@ typedef struct obj_s

#define BLIS_OBJECT_INITIALIZER \
{ \
/* .root */ = NULL, \
/* .root = */ NULL, \
\
/* .off */ = { 0, 0 }, \
/* .dim */ = { 0, 0 }, \
/* .diag_off */ = 0, \
/* .off = */ { 0, 0 }, \
/* .dim = */ { 0, 0 }, \
/* .diag_off = */ 0, \
\
/* .info */ = 0x0 | BLIS_BITVAL_DENSE | \
/* .info = */ 0x0 | BLIS_BITVAL_DENSE | \
/* */ BLIS_BITVAL_GENERAL, \
/* .info2 */ = 0x0, \
/* .elem_size */ = sizeof( float ), /* this is changed later. */ \
/* .info2 = */ 0x0, \
/* .elem_size = */ sizeof( float ), /* this is changed later. */ \
\
/* .buffer */ = NULL, \
/* .rs */ = 0, \
/* .cs */ = 0, \
/* .is */ = 1, \
/* .buffer = */ NULL, \
/* .rs = */ 0, \
/* .cs = */ 0, \
/* .is = */ 1, \
\
/* .scalar */ = { 0.0, 0.0 }, \
/* .scalar = */ { 0.0, 0.0 }, \
\
/* .m_padded */ = 0, \
/* .n_padded */ = 0, \
/* .ps */ = 0, \
/* .pd */ = 0, \
/* .m_panel */ = 0, \
/* .n_panel */ = 0, \
/* .m_padded = */ 0, \
/* .n_padded = */ 0, \
/* .ps = */ 0, \
/* .pd = */ 0, \
/* .m_panel = */ 0, \
/* .n_panel = */ 0, \
\
/* .pack_fn */ = NULL, \
/* .pack_params */ = NULL, \
/* .ker_fn */ = NULL, \
/* .ker_params */ = NULL \
/* .pack_fn = */ NULL, \
/* .pack_params = */ NULL, \
/* .ker_fn = */ NULL, \
/* .ker_params = */ NULL \
}

#define BLIS_OBJECT_INITIALIZER_1X1 \
{ \
/* .root */ = NULL, \
/* .root = */ NULL, \
\
/* .off */ = { 0, 0 }, \
/* .dim */ = { 1, 1 }, \
/* .diag_off */ = 0, \
/* .off = */ { 0, 0 }, \
/* .dim = */ { 1, 1 }, \
/* .diag_off = */ 0, \
\
/* .info */ = 0x0 | BLIS_BITVAL_DENSE | \
/* .info = */ 0x0 | BLIS_BITVAL_DENSE | \
/* */ BLIS_BITVAL_GENERAL, \
/* .info2 */ = 0x0, \
/* .elem_size */ = sizeof( float ), /* this is changed later. */ \
/* .info2 = */ 0x0, \
/* .elem_size = */ sizeof( float ), /* this is changed later. */ \
\
/* .buffer */ = NULL, \
/* .rs */ = 0, \
/* .cs */ = 0, \
/* .is */ = 1, \
/* .buffer = */ NULL, \
/* .rs = */ 0, \
/* .cs = */ 0, \
/* .is = */ 1, \
\
/* .scalar */ = { 0.0, 0.0 }, \
/* .scalar = */ { 0.0, 0.0 }, \
\
/* .m_padded */ = 0, \
/* .n_padded */ = 0, \
/* .ps */ = 0, \
/* .pd */ = 0, \
/* .m_panel */ = 0, \
/* .n_panel */ = 0, \
/* .m_padded = */ 0, \
/* .n_padded = */ 0, \
/* .ps = */ 0, \
/* .pd = */ 0, \
/* .m_panel = */ 0, \
/* .n_panel = */ 0, \
\
/* .pack_fn */ = NULL, \
/* .pack_params */ = NULL, \
/* .ker_fn */ = NULL, \
/* .ker_params */ = NULL \
/* .pack_fn = */ NULL, \
/* .pack_params = */ NULL, \
/* .ker_fn = */ NULL, \
/* .ker_params = */ NULL \
}

// Define these macros here since they must be updated if contents of
Expand Down

0 comments on commit a316d2c

Please sign in to comment.