Skip to content

Commit

Permalink
fix no need change
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoguochun1995 committed Apr 9, 2024
1 parent a580fbf commit 33bcd11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const static int ascend_init = []() {
// – 内存大小向上对齐成32整数倍+32字节(m=ALIGN_UP[len,32]+32字节);
// – 内存起始地址需满足64字节对齐(ALIGN_UP[m,64])。
// nbytes = align_64(1 * nbytes + 32);
static dipu::MemoryAlignmentStrategy memoryAlignStrategy(512, 1, 32);
static dipu::MemoryAlignmentStrategy memoryAlignStrategy(64, 1, 32);
dipu::setMemoryAlignmentStrategy(&memoryAlignStrategy);
return 0;
}();

0 comments on commit 33bcd11

Please sign in to comment.