Skip to content

Commit

Permalink
common: define acc data_type for s32 input/output
Browse files Browse the repository at this point in the history
  • Loading branch information
Fomenko, Evarist M committed Dec 12, 2017
1 parent 353d4d4 commit dac62bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/type_helpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ inline data_type_t default_accum_data_type(data_type_t src_dt,
using namespace data_type;

if (one_of(f32, src_dt, dst_dt)) return f32;
if (one_of(s32, src_dt, dst_dt)) return s32;
if (one_of(s16, src_dt, dst_dt)) return s32;

if (one_of(s8, src_dt, dst_dt) || one_of(u8, src_dt, dst_dt)) return s32;
Expand Down

0 comments on commit dac62bc

Please sign in to comment.