Added dt_on_output field to auxinfo_t.

Details:
- Added a new field to the auxinfo_t struct that can be used, in theory,
  to request type conversion before the microkernel stores/accumulates
  its microtile back to memory.
- Added the appropriate get/set static functions to bli_type_defs.h.
This commit is contained in:
Field G. Van Zee
2018-06-27 15:52:37 -05:00
parent de493b0f34
commit bd8c55fe26
2 changed files with 13 additions and 0 deletions

View File

@@ -65,6 +65,11 @@ static inc_t bli_auxinfo_is_b( auxinfo_t* ai )
return ai->is_b;
}
static inc_t bli_auxinfo_dt_on_output( auxinfo_t* ai )
{
return ai->dt_on_output;
}
// auxinfo_t field modification
@@ -100,5 +105,10 @@ static void bli_auxinfo_set_is_b( inc_t is, auxinfo_t* ai )
ai->is_b = is;
}
static void bli_auxinfo_set_dt_on_output( num_t dt_on_output, auxinfo_t* ai )
{
ai->dt_on_output = dt_on_output;
}
#endif

View File

@@ -998,6 +998,9 @@ typedef struct
inc_t is_a;
inc_t is_b;
// The type to convert to on output.
num_t dt_on_output;
} auxinfo_t;