We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76d5689 commit 81d18adCopy full SHA for 81d18ad
tests/benchdnn/pool/cfg.cpp
@@ -56,15 +56,16 @@ const _dt_conf_t conf_f16 = {
56
{mkldnn_f16, -flt16_max, flt16_max, -32, 32, 1e-3},
57
};
58
59
-const bfloat16_t bflt16_max = mkldnn::impl::nstl::numeric_limits<bfloat16_t>::max();
+#define BFLT16_MAX 3.38953138925153547590470800371487866880e+38F
60
const _dt_conf_t conf_bf16 = {
61
/* Although integers are expected, eps is needed to cover
62
* for the division error */
63
- {mkldnn_bf16, -bflt16_max, bflt16_max, -32, 32, 1e-2},
+ {mkldnn_bf16, -BFLT16_MAX, BFLT16_MAX, -32, 32, 1e-2},
64
{},
65
66
- {mkldnn_bf16, -bflt16_max, bflt16_max, -32, 32, 5e-2},
+ {mkldnn_bf16, -BFLT16_MAX, BFLT16_MAX, -32, 32, 5e-2},
67
68
+#undef BFLT16_MAX
69
70
const _dt_conf_t conf_s8 = {
71
{mkldnn_s8, INT8_MIN, INT8_MAX, INT8_MIN, INT8_MAX, 0.},
0 commit comments