Skip to content

Commit

Permalink
Updated md5sum gold files
Browse files Browse the repository at this point in the history
Signed-off-by: Sonal Santan <sonal.santan@amd.com>
  • Loading branch information
sonals committed Feb 27, 2025
1 parent fb4da76 commit 1490392
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/cpp/aiebu/src/common/uid_md5.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#define _AIEBU_COMMON_UID_MD5_H_

#include <vector>
#include <iostream>
#include <boost/uuid/detail/md5.hpp>
#include <boost/algorithm/hex.hpp>

Expand Down Expand Up @@ -57,12 +56,10 @@ class uid_md5 {
[[nodiscard]] std::string str() const {
std::stringstream md5;

std::cout << std::hex << std::setfill('0');
md5 << std::hex << std::setfill('0');
for (auto ele : sig) {
auto c = (unsigned char)ele;
md5 << std::setw(sizeof(ele) * 2) << (unsigned int)c;
std::cout << std::setw(sizeof(ele) * 2) << (unsigned int)c << "\n";
}
return md5.str();
}
Expand Down
2 changes: 1 addition & 1 deletion test/aie2-ctrlcode/basic/gold.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8bcab5baf77209dba2a124383324ac3c
00f92b5b352e625abadf75a43664a6d7
2 changes: 1 addition & 1 deletion test/cpp_test/aie2ps/eff_net_coal/gold.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d43f2a43f5175300eeee04e84366b559
62e749464a77a3f742a19bc9ac5c6ba6

0 comments on commit 1490392

Please sign in to comment.