File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -203,6 +203,8 @@ size_t get_attr_hash(const primitive_attr_t &attr) {
203203 // fpmath_mode
204204 seed = hash_combine (seed, static_cast <size_t >(attr.fpmath_ .mode_ ));
205205 seed = hash_combine (seed, static_cast <size_t >(attr.fpmath_ .apply_to_int_ ));
206+ // deterministic
207+ seed = hash_combine (seed, static_cast <size_t >(attr.deterministic_ ));
206208 // acc_mode
207209 seed = hash_combine (seed, static_cast <size_t >(attr.acc_mode_ ));
208210
Original file line number Diff line number Diff line change @@ -172,6 +172,8 @@ void serialize_attr(
172172 // fpmath_mode
173173 sstream.write (&attr.fpmath_ .mode_ );
174174 sstream.write (&attr.fpmath_ .apply_to_int_ );
175+ // deterministic
176+ sstream.write (&attr.deterministic_ );
175177 // acc_mode
176178 sstream.write (&attr.acc_mode_ );
177179
You can’t perform that action at this time.
0 commit comments