Skip to content

Commit

Permalink
Add override keyword to fence and make_executable
Browse files Browse the repository at this point in the history
The hip compiler complains about the override keyword missing.

Signed-off-by: Joseph Schuchart <[email protected]>
  • Loading branch information
devreal committed Apr 12, 2024
1 parent e1de612 commit fec2950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ttg/ttg/tt.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ namespace ttg {

ttg::World get_world() const override final { return tts[0]->get_world(); }

void fence() { tts[0]->fence(); }
void fence() override { tts[0]->fence(); }

void make_executable() {
void make_executable() override {
for (auto &op : tts) op->make_executable();
}

Expand Down

0 comments on commit fec2950

Please sign in to comment.