Skip to content

Commit

Permalink
Small fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
eddierichter-amd committed Mar 20, 2024
1 parent 77958f9 commit 9d80671
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/Targets/AIETargetHSA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,6 @@ mlir::LogicalResult AIETranslateToHSA(ModuleOp module, raw_ostream &output) {
llvm::reverse(op.getMixedOffsets()),
[](OpFoldResult s) { return getConstantIntValue(s).value(); });

// buffer_length
int32_t repeat_length = 0;
for (int32_t index_3d = 0; index_3d < sizes[2]; index_3d++)
for (int32_t index_2d = 0; index_2d < sizes[1]; index_2d++)
repeat_length += sizes[0];

// buffer_offset
size_t stride = 1;
size_t offset = 0;
Expand Down

0 comments on commit 9d80671

Please sign in to comment.