Browse Source

sync akg code.

tags/v1.6.0
chenlei_autodiff 4 years ago
parent
commit
93ed4033b6
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      akg
  2. +1
    -1
      mindspore/core/utils/system/crc32c.cc

+ 1
- 1
akg

@@ -1 +1 @@
Subproject commit 5f5eeb31ffdf5a1dc973e7f904dc88ad7581bc5d
Subproject commit e54b832e49abf66303adca1c1f933fd1f4e9f40d

+ 1
- 1
mindspore/core/utils/system/crc32c.cc View File

@@ -285,7 +285,7 @@ static inline void CRC32T8(uint32 *crc, const uint8 **p) {
uint32 Crc32c::MakeCrc32c(uint32 init_crc, const char *data, size_t size) {
MS_EXCEPT_CHECK_NULL(data);
uint32_t crc = init_crc ^ 0xffffffffu;
const unsigned int OFFSET = 8;
const int OFFSET = 8;

// Get the origin begin and end address(not alignment)
auto *bp = reinterpret_cast<const uint8_t *>(data);


Loading…
Cancel
Save