From 24dbc420aae556649f50e645bd94489dab2cc75a Mon Sep 17 00:00:00 2001 From: James Ward Date: Wed, 19 Oct 2022 12:20:31 +0100 Subject: Add BF16 support to reference model * Upgrade Eigen to 3.4.0 (for bfloat16 support) and add work- arounds for reduce.any() and reduce.all() bugs (introduced between 3.3.7 and 3.4.0) * Truncation to bfloat16 now performed in eval() methods Signed-off-by: James Ward Signed-off-by: Jeremy Johnson Change-Id: If5f5c988d76d3d30790acf3b97081726b89205fe --- reference_model/include/func_config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'reference_model/include') diff --git a/reference_model/include/func_config.h b/reference_model/include/func_config.h index 41df135..d9b51d5 100644 --- a/reference_model/include/func_config.h +++ b/reference_model/include/func_config.h @@ -36,6 +36,7 @@ struct func_config_t uint32_t tosa_profile = 1; uint32_t dump_intermediates = 0; std::string fp_format = "0.5"; + bool float_is_big_endian = false; // Set in arith_util.h by float_is_big_endian() }; #endif -- cgit v1.2.1