mirror of
https://github.com/amd/blis.git
synced 2026-05-11 01:30:00 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user