Skip to content

Commit

Permalink
Add missing PROFILE block in Rotary op
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumekln committed Sep 14, 2023
1 parent 98a36e8 commit d240717
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ops/rotary.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ namespace ctranslate2 {
const StorageView& sin,
const StorageView& cos,
StorageView& output) const {
PROFILE("Rotary");

output.resize_as(input);

DEVICE_AND_FLOAT_DISPATCH("Rotary", input.device(), input.dtype(),
Expand Down

0 comments on commit d240717

Please sign in to comment.