Skip to content

Commit

Permalink
Fix transpose benchmark dtype (#1839)
Browse files Browse the repository at this point in the history
  • Loading branch information
zasdfgbnm committed Jul 16, 2022
1 parent 2c9a6c0 commit 9135a96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/cpp/nvfuser/transpose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ static void setupTranspose(
return (is_transpose) ? transpose(tv, axes.first, axes.second) : tv;
};

auto input1 = makeContigTensor(num_dims);
auto input2 = makeContigTensor(num_dims);
auto input1 = makeContigTensor(num_dims, dtype);
auto input2 = makeContigTensor(num_dims, dtype);
fusion->addInput(input1);
fusion->addInput(input2);

Expand Down

0 comments on commit 9135a96

Please sign in to comment.